yii-diandi / yii2-admin
权限管理
Package info
github.com/yii-diandi/yii2-admin
Type:yii2-extension
pkg:composer/yii-diandi/yii2-admin
3.9.5
2025-09-29 02:21 UTC
Requires
- yiisoft/yii2: ~2.0.7
Requires (Dev)
- yiisoft/yii2-codeception: ~2.0
This package is auto-updated.
Last update: 2026-05-29 02:04:22 UTC
README
Install With Composer
The preferred way to install this extension is through composer.
Either run
php composer.phar require yii-diandi/yii2-admin "2.x-dev"
Or, you may add
"yii-diandi/yii2-admin": "2.x-dev"
to the require section of your `composer.json` file and execute `php composer.phar update`.
### Install From the Archive
Download the latest release from here [releases](https://github.com/yii-diandi/yii2-admin/releases), then extract it to your project.
In your application config, add the path alias for this extension.
```php
return [
...
'aliases' => [
'@diandi/admin' => 'path/to/your/extracted',
// for example: '@diandi/admin' => '@app/extensions/diandi/yii2-admin-2.0.0',
...
]
];