Workshop in English - US at Longhorn PHP Conference 2023
Track Name:
Elm
View Slides: https://speakerdeck.com/ramsey/lets-build-a-composer-package-longhorn-php-2023
Short URL: https://joind.in/talk/90538
(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.
Really interesting, informative, and engaging workshop. Ben did excellent going through creating and managing packages. He had really good code examples, clarified and covered all the topics I was hoping to hear, and inspired me to start working on publishing my own packages. Excellent workshop!
Excellent workshop! Examples were easy to follow and there were helpful tips throughout.
The prerequisites were clearly defined making the GitHub repository useful to see how the tools can be called by make.
This talk was great and made me understand the whole packaging thing.
Really fantastic content. This is a topic I’ve done a lot of work on in the last year and the greater level of detail is super valuable.
Great talk and well put together! Really cool tooling Ben has put together as well with Ramsey tools.
Also learned about Captain Hook as well which I can't wait to try out.
Thanks for a great talk!
For me, this talk was fantastic. Not only was it an overview of Composer, but it contained a lot of extra material and exercises that answered a lot of questions that I had related to packages and open source that I figured I would get to someday
During this presentation, we published packages onto Packagist and imported them into demo projects. Additionally, Ben covered a lot of details about different files and information that is typically published within a package on GitHub, such as the license information, contribution document, badges, and how GitHub recognizes/uses this information. I also haven't heard about CaptainHook before, but it looks like a powerful tool that I am going to start using right away
In short, this talk did a lot for me. Thank you Ben!
Lots of good material, including some GitHub and Composer features that were new to me despite already maintaining several packages. Looks like I have follow-up tasks to do.
My one constructive recommendation is that the first half of the session kinda dragged. Perhaps that's just because I'm already a maintainer, but it felt like some parts had more discussion than they warranted.