Publish your public-facing Fern PHP SDK to the Packagist registry. After following the steps on this page, you’ll have a versioned package published on Packagist.
This page assumes that you have:
fern folder, a GitHub repository for your PHP SDK, and a PHP generator group in generators.yml. See Generating an SDK (PHP).
generators.yml
Once you’ve submitted your URL, you’ll be prompted to set up the GitHub Hook.
https://packagist.org/api/github?username=<your.packagist.username>application/jsonpush event
At this point, you’re ready to regenerate your SDK and publish it on Packagist:
Local machine output will verify that the release is pushed to your repository and tagged with the version you specified. Log back into Packagist, click on your username, and select My packages to see your new release.