php-yii
yii framework console
TLDR
Create new application
$ php yii
Run migrations$ php yii migrate
Generate model$ php yii gii/model --tableName=[table]
Clear cache$ php yii cache/flush-all
List commands$ php yii help
SYNOPSIS
php yii [command] [options]
DESCRIPTION
yii is the Yii framework console. Manages Yii PHP applications.
The tool handles migrations, generators, and tasks. Part of Yii framework.
PARAMETERS
COMMAND
Yii console command.migrate
Run database migrations.gii/model
Generate model.cache/flush-all
Clear all caches.help
Show available commands.
CAVEATS
Requires Yii framework. Run from project root.
HISTORY
Yii console is part of Yii PHP framework for application management.
