![Let's Build a Composer Package](https://phptek.tv/storage/talk_gifs/l8ATeGjFQv7CBZeUj5Z01ZL8Ab2yuBhoDfb6nMcwXNus.gif)
Level: Intermediate (some prior knowledge necessary)
Length: Tutorial (3 hours)
Description:
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.
JoindIn: https://joind.in/event/phptek-2024/lets-build-a-composer-package
View Slides: https://speakerdeck.com/ramsey/lets-build-a-composer-package-phptek-2024