neronmoon/scriptsdev
Laravel package to manage and run custom development scripts—generate commands, automate tasks, and organize project utilities from a clean structure. Helpful for scaffolding, repetitive workflows, and keeping team scripts consistent across environments.
It's like require-dev, but for scripts
Just run composer require neronmoon/scriptsdev --dev
After installing you able to add extra.scripts-dev directive in your composer.json
...
"extra": {
"scripts-dev": {
"post-install-cmd": [
"npm install --dev"
],
"post-update-cmd": "php ./someCoolCommand.php",
"test": "phpunit"
},
}
...
...
"scripts-dev": {
"post-install-cmd": [
"npm install --dev"
],
"post-update-cmd": "php ./someCoolCommand.php"
}
...
composer validate command will display something like this../composer.json is valid, but with a few warnings
See https://getcomposer.org/doc/04-schema.md for details on the schema
Description for non-existent script "test" found in "scripts-descriptions"
How can I help you explore Laravel packages today?