PHPackages                             myextensions/yii2-configs - 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. myextensions/yii2-configs

ActiveYii2-extension

myextensions/yii2-configs
=========================

Get and set configs

1.1.2(9y ago)024MITPHPPHP &gt;=5.4.0

Since Jun 1Pushed 9y ago1 watchersCompare

[ Source](https://github.com/romanbur/myextension)[ Packagist](https://packagist.org/packages/myextensions/yii2-configs)[ RSS](/packages/myextensions-yii2-configs/feed)WikiDiscussions master Synced 2mo ago

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

Get and set configs
===================

[](#get-and-set-configs)

Get and set configs

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist myextensions/yii2-configs "*"

```

or add

```
"myextensions/yii2-configs": "*"

```

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

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

1. In cinfig/main.php for using in views of extension. Link will be has following form: ...cinfigs/config

```
'modules' => [
    'configs'=>[
            'class' => 'myextension\configs\Configs',
        ],
]
```

2. In components:

```
    components' => [
            'congfigs' => [
                'class' => 'myextension\configs\components\Geter',
                'cache'=>   120
            ],
    ]
```Parameters: cache - Cash time in second (default - 0. If cache = 0, cache - disabled)
The current component need for get access to configurate parameters in every parts of Application with following code:

```php
$congig = Yii::$app->congfigs->get('slider_count');
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

3633d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d9311147daf3c1dab54f729c40198387a22f7a2874a1bded916766caad0649c2?d=identicon)[romanbur](/maintainers/romanbur)

---

Top Contributors

[![romanbur](https://avatars.githubusercontent.com/u/6098800?v=4)](https://github.com/romanbur "romanbur (17 commits)")

---

Tags

yii2extension

### Embed Badge

![Health badge](/badges/myextensions-yii2-configs/health.svg)

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

###  Alternatives

[skeeks/cms

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

13825.6k47](/packages/skeeks-cms)[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)
