Simple installer for BackPack.
Inspired by Laravel Installer
To generate boilerplate for your new PHP package, just execute the command:
backpack new PackageName --namespace="Package"
The namespace
option defaults to BackPack
.
Install this package as a global dependency:
composer global require whatdafox/backpack-installer
You may want to add ~/.composer/vendor/bin
to your PATH
Feel free to contribute to this project, the goal is to have a tool to quickly generate PHP packages.
The next would be to create framework related providers with an option, ex.: a PackageServiceProvider
for Laravel Framework.