For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Book a demoLog inStart for free
  • Overview
    • Introduction
    • How it works
    • Quickstart
    • Customer showcase
  • Working with SDKs
    • Project structure
    • Adding custom code
    • Migrating to Replay
    • Capabilities
  • Generators
      • Generating an SDK
      • Publishing to Packagist
      • Configuration
      • Adding custom code
      • Changelog
      • Customer showcase
  • Reference
    • generators.yml
Checking status...
SOC2Soc 2 Type II
© 2026 Fern • Birch Solutions, Inc., a Postman company

Documentation

SDKsDocsAsk FernCLI Reference

API Definitions

OpenAPIAsyncAPIOpenRPCgRPC

Resources

BlogSupportPricing

Company

Brand KitPrivacy PolicyTerms of Service
LogoLogo
Book a demoLog inStart for free
GeneratorsPHP

Changelog

February 9, 2025
February 9, 2025
Was this page helpful?
Edit this page
Previous

February 11, 2025

Next

February 7, 2025

0.7.0

(feat): The SDK now supports inline path parameters in the generated request class like so:

class GetUserRequest extends JsonSerializableType {
1 /**
2 * @var string $userId
3 */
4 public string $userId;
5} ```
6You can configure this in your `generators.yml` like so:
7```yaml - name: fernapi/fern-php-sdk
8 version: 0.7.0
9 config:
10 inlinePathParameters: true

0.6.0

(feat): You can now configure the generated class property access to be public or private.

  • When the access is public, both the getter and setter methods are omitted (default).
  • When the access is private, both the getter and setter methods are generated.

You can configure this in your generators.yml like so:

- name: fernapi/fern-php-sdk
1 version: 0.6.0
2 config:
3 propertyAccess: private

0.5.2

(fix): Update the endpoint generator to not require the in-lined request wrapper if it’s only composed of optional properties.

(fix): Update optional query parameters lists to be generated as an optional array instead of an array of optional values.