PHPackages                             pendalf89/yii2-settings - 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. pendalf89/yii2-settings

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

pendalf89/yii2-settings
=======================

Yii2 settings component

4422[1 issues](https://github.com/PendalF89/yii2-settings/issues)PHP

Since Nov 17Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-settings
=============

[](#yii2-settings)

Yii2 settings component

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist pendalf89/yii2-settings "*"

```

or add

```
"pendalf89/yii2-settings": "*"

```

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

Apply migration

```
yii migrate --migrationPath=vendor/pendalf89/yii2-settings/migrations
```

Configuration:

```
'components' => [
    'settings' => [
        'class' => 'pendalf89\settings\Settings',
    ],
],
```

Usage
-----

[](#usage)

```
$settings = Yii::$app->settings;
$settings->set('sitemap.update_cache_freq', 21600);
echo $settings->get('sitemap.update_cache_freq');  // 21600

// Sample with default value:
echo $settings->get('sitemap.update_cache_freq', 21600);  // 21600
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d4a4b4764a0393c51349746c05db96397f17cce78fa5c025609aa1bb3489eea?d=identicon)[PendalF89](/maintainers/PendalF89)

---

Top Contributors

[![PendalF89](https://avatars.githubusercontent.com/u/5278851?v=4)](https://github.com/PendalF89 "PendalF89 (5 commits)")

### Embed Badge

![Health badge](/badges/pendalf89-yii2-settings/health.svg)

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

###  Alternatives

[responsiv/currency-plugin

Currency plugin for October CMS

171.3k1](/packages/responsiv-currency-plugin)

PHPackages © 2026

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