Search posts, tags, users, and pages
Learn how to organize and group Composer scripts in PHP projects for efficient task automation
David Carr
@dcblogdev · United Kingdom
Web developer
Blogger at http://dcblog.dev.
Markdown supported · ⌘↵ to post
Erik D'Ercole
For my Composer scripts, I prefer to use "agnostic" names: format, test, analyse, etc. Currently, they run Pint, Pest, PHPStan, but in the future each command could run another tool. This way, I don't need to change the command name.
that's a good strategy
Erik D'Ercole
For my Composer scripts, I prefer to use "agnostic" names: format, test, analyse, etc. Currently, they run Pint, Pest, PHPStan, but in the future each command could run another tool. This way, I don't need to change the command name.