https://github.com/dmstr/yii2-app-command
:x: Console command for Yii 2 Framework to manage your application setup, source code and configuration settings
https://github.com/dmstr/yii2-app-command
Last synced: 8 months ago
JSON representation
:x: Console command for Yii 2 Framework to manage your application setup, source code and configuration settings
- Host: GitHub
- URL: https://github.com/dmstr/yii2-app-command
- Owner: dmstr
- Created: 2014-07-08T06:51:14.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-04-24T08:22:17.000Z (about 10 years ago)
- Last Synced: 2025-05-07T10:07:03.532Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 14.6 KB
- Stars: 4
- Watchers: 9
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Phundament Yii 2 Application Management Command
===============================================
:warning: **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](http://getcomposer.org/download/).
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:
```php
'controllerMap' => [
'app' => 'dmstr\\console\\controllers\\AppController',
],
```
Run the command
```php
./yii app
```