Generate a PHP SDK by following the instructions on this page.
fern folder on
your local machine. See Set up the fern folder for more
details.fern checkRun fern check to ensure that your API definition is valid. If there are any errors,
fix them before proceeding.
If you’re using an OpenAPI Specification, check out all of our supported extensions.
Add the PHP SDK generator:
php-sdk is the name of the generators.yml group that configures your PHP
SDK’s output location and other metadata. You can customize this group name to
differentiate between multiple SDKs across different languages (e.g.,
ruby-sdk, etc) in your organization.
This command adds the following to generators.yml: