PHPackages                             k1low/setting - 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. [Database &amp; ORM](/categories/database)
4. /
5. k1low/setting

ActiveCakephp-plugin[Database &amp; ORM](/categories/database)

k1low/setting
=============

Setting: Database driven setting plugin for CakePHP.

2.0.0(11y ago)53321MITPHPCI failing

Since Dec 25Pushed 11y ago2 watchersCompare

[ Source](https://github.com/k1LoW/Setting)[ Packagist](https://packagist.org/packages/k1low/setting)[ Docs](https://github.com/k1LoW/Setting)[ RSS](/packages/k1low-setting/feed)WikiDiscussions master Synced 4w ago

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

Setting: Database driven setting plugin for CakePHP.
====================================================

[](#setting-database-driven-setting-plugin-for-cakephp)

[![Build Status](https://camo.githubusercontent.com/4736de434cf00e008d5d1af0b7a81638007963a04a91c497823586c8d53f7d40/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6b314c6f572f53657474696e672e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/k1LoW/Setting)[![Coverage Status](https://camo.githubusercontent.com/500ed0f61c9db39b86320bb1ea7457245b7ab0e93cbdad66afe856274fa97716/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6b314c6f572f53657474696e672f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/k1LoW/Setting?branch=master)

Install
-------

[](#install)

First, Install 'Setting' by [recipe.php](https://github.com/k1LoW/recipe) , and set `CakePlugin::load('Setting', array('bootstrap' => true));`

Second, Create schema.

```
./lib/Cake/Console/cake schema create settings --plugin Setting

```

Usage
-----

[](#usage)

### Init

[](#init)

Configure `Setting.settings` like Model::validate.

```
Configure::write('Setting.settings', array(
                                           'tax_rate' => array('rule' => array('numeric')),
                                           ));

```

### Set setting

[](#set-setting)

`Setting::setSetting([key], [value])` or `Setting::setSetting(array([key1] => [value1], [key2] => [value2]))`

### Get setting

[](#get-setting)

`Setting::getSetting([key])` or `Setting::getSetting()`

If you want not to use Setting (settings table)
-----------------------------------------------

[](#if-you-want-not-to-use-setting-settings-table)

See [SystemControlTest.php](https://github.com/k1LoW/Setting/blob/master/Test/Case/Model/SystemControlTest.php).

License
-------

[](#license)

the MIT License

###  Health Score

30

—

LowBetter than 61% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

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

4251d ago

### Community

Maintainers

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

---

Top Contributors

[![k1LoW](https://avatars.githubusercontent.com/u/57114?v=4)](https://github.com/k1LoW "k1LoW (48 commits)")

---

Tags

cakephpsetting

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/k1low-setting/health.svg)

```
[![Health](https://phpackages.com/badges/k1low-setting/health.svg)](https://phpackages.com/packages/k1low-setting)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.6k10](/packages/helsingborg-stad-municipio)[andreyryabin/sprint.migration

bitrix migration module

206212.7k2](/packages/andreyryabin-sprintmigration)[pressbooks/pressbooks-book

This theme is named after Canadian media theorist Marshall McLuhan, who coined the phrase “the medium is the message.” It is designed for academic writing and is also suitable for fiction. Headings are set in Cormorant Garamond, and body type is set in Lora.

226.7k](/packages/pressbooks-pressbooks-book)[cpierce/cakephp-sybasedb

CakePHP plugin to handle PDO MSSQL Connections using dblib

1033.9k](/packages/cpierce-cakephp-sybasedb)[imsamurai/cakephp-serializable-behaviour

Behavior for saving and reading serialized data from/into database

137.7k3](/packages/imsamurai-cakephp-serializable-behaviour)

PHPackages © 2026

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