denis909 / yii2-backend
Installs: 50
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/denis909/yii2-backend
Requires
This package is auto-updated.
Last update: 2025-10-20 20:27:36 UTC
README
Installation
backend/config/main.php
return [
...
'components' => [
'urlManager' => [
'rules' => [
'site/login' => 'login',
'site/logout' => 'logout'
]
]
]
...
];
common/config/bootstrap.php
require dirname(dirname(__DIR__)) . '/vendor/denis909/yii2-backend/config/bootstrap.php';
All other configuration files are connected via CascadeConfig, but if you do not use it, connect them manually:
config/common.php
config/common-bootstrap.php
config/frontend.php
config/frontend-bootstrap.php
config/backend.php
config/backend-bootstrap.php
config/console.php
config/console-bootstrap.php