In this post to his site Joe Ferguson takes a look at the recently announced Producer package that helps with ensuring your packages are "high quality" and makes the release process easier.
Producer is a pretty neat project that wants you to release higher quality packages. Well, actually (sorry) it’s “a command-line tool to validate, and then release, your PHP library package. It supports Git and Mercurial for version control, as well as Github, Gitlab, and Bitbucket for remote origins.”[...] I was immediately interested in this tool because the Phergie project I manage (with other awesome developers) contains a number of individual packages. [...] Phergie packages are pretty solid. We have Travis CI running our tests across multiple PHP versions, we have hours and hours into these packages. But I wanted to take it to the next level, step up our game so to speak. In order to help raise our quality control on our packages I needed a producer.
He uses a Phergie plugin he developed as an example to try out Producer. He shows the results of the validate
call with Producer and the few issues it reports. He shares the updates he made to the code (documentation) and the addition of a CHANGES.md
file to the repository.He then uses Producer to push out a new version of the package using the release
command (v3.0.1) and the resulting output of the command.