> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 0.10.0

**`(feat):`** 现在您可以通过在生成器配置中添加 `composerJson` 属性来修改生成的 `composer.json` 文件。
以下是带有 `composerJson` 属性的 `generators.yml` 文件示例：

**`generators.yml ... groups:`**

```yaml generators.yml ... groups:
  php-sdk:
    generators:
      - name: fernapi/fern-php-sdk
        ...
        config:
          composerJson:
            description: This is my PHP library
            keywords:
            - myCustomTag
            license:
            - "LGPL-2.1-only"
            - "GPL-3.0-or-later"
            scripts:
              hello: echo hello
```

这将产生以下 composer.json 文件：

**`composer.json {`**

````jsonc composer.json {
  // ...,
  "description": "This is my PHP library",
  "keywords": [
    "myCustomTag",
    // ...,
  ],
  "license": [
    "LGPL-2.1-only",
    "GPL-3.0-or-later"
  ],
  // ...,
  "scripts": {
    // ...,
    "hello": "echo hello"
  }
} ```

## 0.9.0
**`(feat):`** 添加从每个类访问 alpha 或未记录响应属性的能力。用户可以这样访问附加属性：
```php $response = $client->users->get(...); $additionalProperties = $response->getAdditionalProperties(); ```

## 0.8.0
**`(feat):`** 为返回分页响应的端点添加自动分页支持。
以下是用户如何使用分页端点的示例：
```php $items = $client->list($request); foreach($items as $item){
    echo $item;
} $pages = $items->getPages(); foreach($pages as $page){
    foreach($page as $item){
        echo $item;
    }
} ```
````