The Base Components of Rho Press
The preferred way to install this extension is through composer.
Either run:
php composer.phar require rhopress/yii2-rhopress:dev-master
or add
"rhopress/yii2-rhopress": "dev-master"
to the require section of your composer.json
file.
Once this extension is installed, you can simply add rhopress
module to the
module
section of main config of your project, like following:
$config = [
...
'module' => [
...
'rhopress' => [
'class' => 'rhopress\Module'
],
...
],
...
]
If you want to use it in bootstrap process, please attach the module name into
bootstrap
section, like following:
$config = [
...
'bootstrap' => [
...
'rhopress'
...
],
...
]