An open API service indexing awesome lists of open source software.

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

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
```