Add command line support for TP, data migration files
Allow new custom commands
Allow overriding default commands
Show command list
Create module
Create a controller
Create a view
Create model
Create directory
Create file
Data table migration
Create parameter pool
Create behavior class
Under the command line
View the help command
github address and usage
https://github.com/selden1992/console
There are too few officially supported commands
Introduction
Add command line support for TP. The template of the data migration file is mysql5.7 as an example. Lower versions can modify the template path and console.php configuration file by yourself. Welcome to push your code
master is the development branch
2.* The branch supports tp3.2
tp5.* branch supports tp5
These command support include (src/route.php registers all commands, check it yourself)
Allow new custom commands
Allow overriding default commands
Show command list
Create module
Create a controller
Create a view
Create model
Create directory
Create file
Data table migration
Create parameter pool
Create behavior class
Under the command line
View the help commandphp artisan
Create an empty controllerphp artisan make:controller index/test
Create a resource controllerphp artisan make:controller index/test --resource
Create a data tablephp artisan make:migration users
/ / Create a data table record file and start writing to the database in the root directory database/migrations/php artisan magrate
//
Others