exoodev / yii2-blog
The Blog extension for the Yii2 framework
1.0.5
2019-09-17 10:10 UTC
Requires
README
========================
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist exoodev/yii2-blog
or add
"exoodev/yii2-blog": "*"
to the require section of your composer.json.
Usage
Example backend configuration:
return [
'modules' => [
'blog' => [
'class' => 'exoo\blog\Module',
'isBackend' => true,
],
],
];
Example frontend configuration:
return [
'modules' => [
'blog' => [
'class' => 'exoo\blog\Module',
]
],
];
Migration
yii migrate --migrationPath=@exoo/blog/migrations