This package is part of pingpong/modules package.
Install globally.
composer global require "pingpong/modules-cli:dev-master"
Install locally for laravel project.
composer require "pingpong/modules-cli:dev-master"
After installation completed, you can access the module
cli from bin
folder.
Globally:
~/composer/vendor/bin/module
Locally:
vendor/bin/module
You may create alias for quick access the module
cli, or export the bin path to your ~/.bashrc
file.
alias module="vendor/bin/module"
export PATH="vendor/bin:$PATH"
There is some command you can use for generating a module, module's controller or others.
You may also show all available command using module list
command.
$ module list
Coming Soon
This package is open-sourced software licensed under The BSD 3-Clause License