paulzi / cmyii-core
Cmyii CMS core
Installs: 160
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- paulzi/yii2-adjacency-list: ^2.0.4
- paulzi/yii2-auto-tree: ^1.0.4
- paulzi/yii2-materialized-path: ^2.0.8
- paulzi/yii2-sortable: ^1.0.2
- yiisoft/yii2: ^2.0.11
README
CMYii - is CMS admin system based on Yii Framework 2.
This is core module that provides the functionality of CMS for front-part of site, but does not include the admin system itself.
Install
If you need the complete CMS, see install cmyii.
If you only need a core of CMS, use:
composer require paulzi/cmyii-core
Usage
See cmyii usage for full feature usage guide.
Apply migrations in migrations
folder. To do this, use one of the following methods:
- Add
paulzi\cmyii\migrations
namespace to your console app:
return [ 'controllerMap' => [ 'migrate' => [ 'class' => 'yii\console\controllers\MigrateController', 'migrationPath' => null, 'migrationNamespaces' => [ 'console\migrations', 'paulzi\cmyii\migrations', ], ], ], ]
- Run command:
./yii migrate --migrationPath= --migrationNamespaces=paulzi\cmyii\migrations
To use only the core, specify in the configs of the application:
return [ 'bootstrap' => ['cmyii'], 'modules' => [ 'cmyii' => [ 'class' => 'paulzi\cmyii\Cmyii', ], ], ];