Skip to content

Commit 9839fd0

Browse files
authored
Add PHP configuration options (#31)
1 parent cee068e commit 9839fd0

File tree

1 file changed

+35
-2
lines changed

1 file changed

+35
-2
lines changed

fern/products/sdks/overview/php/configuration.mdx

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,39 @@ title: PHP Configuration
33
description: Configuration options for the Fern PHP SDK.
44
---
55

6-
# PHP Configuration
6+
You can customize the behavior of the PHP SDK generator in `generators.yml`:
7+
8+
```yaml {7-8}
9+
default-group: local
10+
groups:
11+
local:
12+
generators:
13+
- name: fernapi/fern-python
14+
version: <Markdown src="/snippets/version-number.mdx"/>
15+
config:
16+
clientName: YourClientName
17+
```
18+
19+
## SDK Configuration Options
20+
21+
<ParamField path="clientName" type="string" required={false}>
22+
</ParamField>
23+
24+
<ParamField path="inlinePathParameters" type="boolean" required={false}>
25+
</ParamField>
26+
27+
<ParamField path="packageName" type="string" required={false}>
28+
</ParamField>
29+
30+
<ParamField path="packagePath" type="string" required={false}>
31+
</ParamField>
32+
33+
<ParamField path="propertyAccess" type="'public' | 'private'" required={false}>
34+
</ParamField>
35+
36+
<ParamField path="namespace" type="string" required={false}>
37+
</ParamField>
38+
39+
<ParamField path="composerJson" type="Record<string, any>" required={false}>
40+
</ParamField>
741
8-
Discover how to configure the Fern PHP SDK for your project.

0 commit comments

Comments
 (0)