Skip to main content
Version: 4.x

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​

CommandDescription
add:middlewareCreate new middleware
add:configurationCreate new configuration
add:serviceCreate new service
add:exceptionCreate new exception
add:controllerCreate new controller
add:modelCreate new model
add:validatorCreate new validator
add:seederCreate new table fake seeder
add:migrationCreate a new migration
add:eventCreate a new event listener

MIGRATION apply a migration in user model​

CommandDescription
migration:migrateMake migration
migration:resetReset all migration
migration:rollbackRollback to previous migration
migrateAlias 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.