PHPackages                             zarv1k/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. zarv1k/yii2-params

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

zarv1k/yii2-params
==================

Yii2 Advanced params

0.1.1(9y ago)2431proprietaryPHP

Since Jan 3Pushed 9y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (17)Used By (0)

Advanced application params for Yii 2
=====================================

[](#advanced-application-params-for-yii-2)

This extension provides the advanced params for Yii 2 applications. (Warning: this extension is under development, unstable and not for production use)

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

[](#installation)

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

Either run

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

```

or add

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

```

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

Run migrations to create params table in DB:

```
yii migrate --migrationPath=@zarv1k/params/migrations

```

Once the extension is installed, simply modify your application configuration as follows:

```
return [
    // ...
    'params' => '@zarv1k/params/config/default.php',
    // ...
];
```

Or use your custom params component configuration as follows:

```
return [
    // ...
    'params' => [
        'class' => 'zarv1k\params\components\Params',
        'filePath' => '@app/config/params.php'
    ],
    // ...
];
```

To manage application params on your web site you can turn on the params module:

```
return [
    // ...
    'modules' => [
        // ...
        'params' => [
            'class' => 'zarv1k\params\modules\params\Module'
        ],
        // ...
    ],
];
```

Then you can then access params module through the following URL:

```
http://localhost/path/to/index.php?r=params

```

or if you have enabled pretty URLs, you may use the following URL:

```
http://localhost/path/to/index.php/params

```

Usage
-----

[](#usage)

```
\Yii::$app->params['param_scope.param_code']

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

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 ~40 days

Recently: every ~149 days

Total

16

Last Release

3539d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b5976b25457b93be0f323606a6b8975af53a4cdd8dda4ed0611b491cd8eeaa9?d=identicon)[zarv1k](/maintainers/zarv1k)

---

Top Contributors

[![zarv1k](https://avatars.githubusercontent.com/u/6296643?v=4)](https://github.com/zarv1k "zarv1k (28 commits)")

---

Tags

yii2params

### Embed Badge

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

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

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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