yii2-extension yii2-backend
The Backend extension for the Yii2 framework
mihaildev/yii2-backend
The Backend extension for the Yii2 framework
- Tuesday, May 3, 2016
- by mihaildev
- Repository
- 3 Watchers
- 1 Stars
- 9 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
yii2-backend
The Backend extension for the Yii2 framework, (*1)
Config file., (*2)
'preload'=>['backend'],
...
'components' => [
...
'backend' => [
'class' => 'mihaildev\backend\Component',
'onBackend' => function(){
Yii::$app->user->loginUrl = ['/backend/login'];
},
'onFrontend' => function(){
Yii::$app->user->loginUrl = ['/site/login'];
},
],
...
]
Controller (only for backend), (*3)
class SomeController extends Controller implements BackendControllerInterface{
}
dev-master
9999999-dev
The Backend extension for the Yii2 framework
Sources
Download
BSD-3-Clause
The Requires
yii
backend
1.0.1
1.0.1.0
The Backend extension for the Yii2 framework
Sources
Download
BSD-3-Clause
The Requires
yii
backend
1.0.1-alpha
1.0.1.0-alpha
The Backend extension for the Yii2 framework
Sources
Download
BSD-3-Clause
The Requires
yii
backend