Let's Build a Composer Package (php[world] 2019)

Let's Build a Composer Package (php[world] 2019)

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 filesystem structures, the importance of tests and how to run them on Travis CI, publishing to Packagist, interacting with a community, and more. By the end of this workshop, you will have all the tools you need to distribute your own Composer package.

0c217b9a7dd0aa31ed40bd0f453727e1?s=128

Ben Ramsey

October 24, 2019
Tweet