I spread the gospel of #CaptainHookPHP at #LonghornPHP this weekend. Lots of folks sounded really interested in checking it out after I mentioned it in my “Let’s Build A Composer Package” workshop.
Slides are here: https://speakerdeck.com/ramsey/lets-build-a-composer-package-longhorn-php-2023
If you attended, please leave feedback here: https://joind.in/event/longhorn-php-conference-2023/lets-build-a-composer-package
Thank you to everyone who attended! #PHP
Let's Build a Composer Package (Longhorn PHP 2023)
You've downloaded and installed open source libraries, required them as Composer dependencies, and perused the source code of countless GitHub repositories. Now, you're ready to help others by creating your own Composer package. So, what does it take to build and publish an open source library? In this session, we'll take a look at some of the common patterns open source PHP libraries follow. Along the way, we'll cover: evaluating libraries for quality, common directory structures, the importance of tests and how to run them on GitHub Actions, publishing to Packagist, choosing a license, interacting with a community, and more. By the end of this workshop, you will have all the tools you need to publish and distribute your own Composer package.