BowPHP Console
COMMAND:
help display command helper
GENERATE create a new app key and resources​
generate:resource Create new REST controller generate:session For generate session table generate:key Create new app key
ADD Create a user class​
| Command | Description |
|---|---|
| add:middleware | Create new middleware |
| add:configuration | Create new configuration |
| add:service | Create new service |
| add:exception | Create new exception |
| add:controller | Create new controller |
| add:model | Create new model |
| add:validator | Create new validator |
| add:seeder | Create new table fake seeder |
| add:migration | Create a new migration |
| add:event | Create a new event listener |
MIGRATION apply a migration in user model​
| Command | Description |
|---|---|
| migration:migrate | Make migration |
| migration:reset | Reset all migration |
| migration:rollback | Rollback to previous migration |
| migrate | Alias of migration:migrate |
CLEAR for clear cache information​
clear:view Clear view cached information clear:cache Clear cache information clear:session Clear session cache information clear:log Clear logs cache information clear:all Clear all cache information
SEED Make seeding​
seed:table [name] Make seeding for one table seed:all Make seeding for all
RUN Launch process​
run:console show psysh php REPL for debug you code. run:server run a local web server.
Is something missing?
If you run into problems with the documentation or have suggestions to improve the documentation or the project in general, please open an issue for us, or send a tweet mentioning the Twitter account @bowframework or directly on github.