dmstr / yii2-app-command
Console command for Yii 2 Framework to manage your application source code and configuration settings
Installs: 9 891
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 9
Forks: 1
Open Issues: 1
Type:yii2-extension
Requires
README
⚠️ Project state: discontinued/obsolete
It is recommended to remove this package from your composer.json
dependencies.
Replacement for mysql
command: https://github.com/dmstr/yii2-db/blob/master/console/controllers/MysqlController.php
Further replacements: https://github.com/phundament/app/blob/master/src/commands/AppController.php
Console base-command to manage your application source code and configuration settings.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist dmstr/yii2-app-command "*"
or add
"dmstr/yii2-app-command": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, configure it in your console
config:
'controllerMap' => [ 'app' => 'dmstr\\console\\controllers\\AppController', ],
Run the command
./yii app