Workshop in English - US at php[tek] 2024
Track Name:
PHPUgly Hall
View Slides: https://speakerdeck.com/ramsey/lets-build-a-composer-package-phptek-2024
Short URL: https://joind.in/talk/bf3aa
(QR-Code (opens in new window))
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.
Comments
Comments are closed.
Very well explained workshop on creating composer packages
It was really great to see more of what makes a “good” package in the eyes of the open source community (ala Ben of course). It’s been a long time since I’ve had time to really dedicate to open source projects and so many of the tools presented here really bridge the gap between what was and what the current expectations are.
Great presentation and workshop. Was easy to follow along and learned a lot!
I have so many open tabs to look into after this talk when I get home that I can't see the icons. Also, during the talk I managed to create *two* packages on Packagist. The talk actually covered a bunch of interesting things in addition to the Packagist part, like git hooks, which was pretty awesome.
There's a lot involved with creating a good package - more than you might think. Ben does a great job explaining things. He spoke in a style that was clear, and easy to follow.