PHPackages                             fgh151/yii2-params - 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. fgh151/yii2-params

ActiveYii2-extension

fgh151/yii2-params
==================

Yii2 params files managment

1.0.5(8y ago)32222GPLPHPCI failing

Since Mar 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/fgh151/yii2-params)[ Packagist](https://packagist.org/packages/fgh151/yii2-params)[ Docs](http://openitstudio.ru)[ RSS](/packages/fgh151-yii2-params/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (2)Versions (5)Used By (0)

Русская документация скоро будет доступна доступна на сайте [OpenItStudio](https://openitstudio.ru)

Yii2 params files management utility
====================================

[](#yii2-params-files-management-utility)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist fgh151/yii2-params "*"

```

or add

```
"fgh151/yii2-params": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply add it in your config by :

```
        'modules' => [
               ...
               'params' => [
                   'class' => 'fgh151\modules\params\Module',
                   'paramsFilePath' => [
                       'Common params' => '@common/config/params.php',
                       'Backend Params' => '@backend/config/params.php',
                       'Frontend Params' => '@frontend/config/params.php',
                   ]
               ]
           ],
```

add to paramsFilePath array names of files and path to them

RBAC
----

[](#rbac)

You can use RBAC with module. Simply add it in your config:

```
        'modules'    => [
             'params' => [
                'class' => 'fgh151\modules\params\Module',
                'paramsFilePath' => [
                    'Common params' => '@common/config/params.php',
                    'Backend Params' => '@backend/config/params.php',
                    'Frontend Params' => '@frontend/config/params.php',
                ],
                'as access' => [
                    'class' => 'yii\filters\AccessControl',
                    'rules' => [
                        [
                            'allow' => true,
                            'roles' => ['admin'],
                        ]
                    ]
                ]
             ]
            ...
        ],
```

Usage
-----

[](#usage-1)

Pretty Url's `/params`

No pretty Url's `index.php?r=params`

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

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

Every ~198 days

Total

4

Last Release

3103d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/81832b7ce373292df19cf8083a15a64210e41ecac3cd8184d80d9c81a85d86d1?d=identicon)[fgh151](/maintainers/fgh151)

---

Top Contributors

[![fgh151](https://avatars.githubusercontent.com/u/645524?v=4)](https://github.com/fgh151 "fgh151 (9 commits)")

---

Tags

yii2params

### Embed Badge

![Health badge](/badges/fgh151-yii2-params/health.svg)

```
[![Health](https://phpackages.com/badges/fgh151-yii2-params/health.svg)](https://phpackages.com/packages/fgh151-yii2-params)
```

###  Alternatives

[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k46](/packages/skeeks-cms)[wbraganca/yii2-tagsinput

The yii2-tagsinput is a Yii 2 wrapper for \[bootstrap-tagsinput\](https://github.com/timschlechter/bootstrap-tagsinput). A user interface for managing tags.

32160.2k](/packages/wbraganca-yii2-tagsinput)[maxmirazh33/yii2-uploadable-cropable-image

Yii2 extension for upload and crop images

1020.8k](/packages/maxmirazh33-yii2-uploadable-cropable-image)

PHPackages © 2026

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