PHPackages                             icequeen/auth-config - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. icequeen/auth-config

ActiveLibrary

icequeen/auth-config
====================

auth-config

v1.0.0(7y ago)01MITPHP

Since Dec 21Pushed 7y agoCompare

[ Source](https://github.com/IceQueenFly/yii2-auth-setting)[ Packagist](https://packagist.org/packages/icequeen/auth-config)[ RSS](/packages/icequeen-auth-config/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

yii2-auth-setting
=================

[](#yii2-auth-setting)

yii2 permission control

Install
=======

[](#install)

use composer
------------

[](#use-composer)

```
composer require icequeen/auth-config -vvv

```

use github (use this for newest)
--------------------------------

[](#use-github-use-this-for-newest)

```
git clone https://github.com/IceQueenFly/yii2-auth-setting.git

```

after install
-------------

[](#after-install)

```
bootstrap.php write after other Alisa
Yii::setAlias('@icequeen', dirname(dirname(__DIR__)) . '/vendor/icequeen');
Yii::setAlias('@icequeen/auth', dirname(dirname(__DIR__)) . '/vendor/icequeen/auth-config/src');

```

Usage And Example
=================

[](#usage-and-example)

```
console配置文件中
// 生成配置文件
                'admin-work-config'=>[
                    'class'=>\icequeen\auth\console\controllers\MakeAuthConfigController::class,
                    'readDic' => '@admin/controllers',
                    'moduleId' => 'app-admin',
                    'namespace' => 'admin\\controllers',
                    'saveFilePath' => '@common/auth/admin/config/admin-config.php',
                    'workFileNew' => '@common/auth/admin/config/admin-new.php',
                    'workFileOld' => '@common/auth/admin/config/admin-old.php',
                    'startId' => 1000,
                    'exceptActionIds' => ['view'],
                    'exceptControllerIds' => ['file','depend','home','site','area-depend','min-order','notice','search','upload'],
                ],
                // 生成权限类
                'auth-admin-generator' => [
                    'class' => \kriss\modules\auth\console\controllers\AuthGeneratorController::class,
                    'genClass' => 'common\auth\admin\AdminAuth',
                    'configFile' => '@common/auth/admin/config/admin-config.php',
                    'permissionId' => 30,
                    'roleId' => 40,
                    'generateFile'=>'@common/auth/admin/AdminAuth.php',
                ],
                // 生成控制器配置文件
                'admin-work-controller-config'=>[
                    'class'=>\icequeen\auth\console\controllers\ModuleAuthSetController::class,
                    'controllerAuthFile'=>'@common/auth/admin/config/admin-controller-config.php',
                    'authFile' => '@common/auth/admin/config/admin-config.php',
                    'authClass' => 'common\auth\admin\AdminAuth',
                ],

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2697d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a28b1edbfb79fd20f2c1fa9937d34abdf56766a791f98cf54a59f19b7b7f563?d=identicon)[IceQueenFly](/maintainers/IceQueenFly)

---

Top Contributors

[![PoemRainPR](https://avatars.githubusercontent.com/u/35514793?v=4)](https://github.com/PoemRainPR "PoemRainPR (14 commits)")

### Embed Badge

![Health badge](/badges/icequeen-auth-config/health.svg)

```
[![Health](https://phpackages.com/badges/icequeen-auth-config/health.svg)](https://phpackages.com/packages/icequeen-auth-config)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
