BasConsole uses Symfony Console to generate Zend Framework 2 files, configs, and scalffolding for your zf2 project.
- generate:app
- generate:module
- route:add
- route:update
- route:delete
Dependencies are setup in the composer.json file. Currently Composer is the only supported method for requiring dependencies.
Composer installs all the depdencies, everything is defined in composer.json. For composer documentation, please refer to getcomposer.org.
cd my/project/directory
git clone https://github.com/lumberjacked/BasConsole.git
- run
php composer.phar install
- alias the project for easy access
alias zf2='~/workspace/BasConsole/console'
For a list of all available commands
- zf2 --help
- zf2 command:name --help (For specific help on a command)
- Read the output of the commands is the easiest way.
- More Commands to be able to do a viarity of things from the command line.