PHPackages                             anklimsk/cakephp-config-plugin - 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. anklimsk/cakephp-config-plugin

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

anklimsk/cakephp-config-plugin
==============================

Initialize and get the plugin configuration for the CakePHP 2.x

v1.0.1(7y ago)01.2k5MITPHPPHP &gt;=5.4

Since Aug 7Pushed 6y agoCompare

[ Source](https://github.com/anklimsk/cakephp-config-plugin)[ Packagist](https://packagist.org/packages/anklimsk/cakephp-config-plugin)[ Docs](https://github.com/anklimsk/cakephp-config-plugin)[ RSS](/packages/anklimsk-cakephp-config-plugin/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (5)

CakePHP 2.x Configuration plugin
================================

[](#cakephp-2x-configuration-plugin)

[![Build Status](https://camo.githubusercontent.com/28a44b71ba1750366fc7ac2dcb28c5ee9500c60ca9ce05351e444c848cc222ab/68747470733a2f2f7472617669732d63692e636f6d2f616e6b6c696d736b2f63616b657068702d636f6e6669672d706c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/anklimsk/cakephp-config-plugin)[![Coverage Status](https://camo.githubusercontent.com/2b665a09ae6e955d7de40027ffaee224d7f21bca7904c4dd2c3d9e02b7833a7c/68747470733a2f2f636f6465636f762e696f2f67682f616e6b6c696d736b2f63616b657068702d636f6e6669672d706c7567696e2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/anklimsk/cakephp-config-plugin)[![Latest Stable Version](https://camo.githubusercontent.com/eba2c14ea89678520197d6bc19ef19f8a62ecd6acd292540e9a8335add70ca8e/68747470733a2f2f706f7365722e707567782e6f72672f616e6b6c696d736b2f63616b657068702d636f6e6669672d706c7567696e2f76657273696f6e)](https://packagist.org/packages/anklimsk/cakephp-config-plugin)[![License](https://camo.githubusercontent.com/90cfe8970166bf7247558db297d94e1ecbf0775c7945e5f5828fca480980d9ca/68747470733a2f2f706f7365722e707567782e6f72672f616e6b6c696d736b2f63616b657068702d636f6e6669672d706c7567696e2f6c6963656e7365)](https://packagist.org/packages/anklimsk/cakephp-config-plugin)

Initialize and get the plugin configuration.

This plugin provides next features:
-----------------------------------

[](#this-plugin-provides-next-features)

- Initialize and get the plugin configuration.

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

[](#installation)

1. Install the Plugin using composer: `composer require anklimsk/cakephp-config-plugin`
2. Add the next line to the end of the file `app/Config/bootstrap.php`:

    ```
    CakePlugin::load('CakeConfigPlugin', ['bootstrap' => true]);
    ```

Using this plugin
-----------------

[](#using-this-plugin)

1. Include in the `AppModel` model of your plugin the behavior `InitConfig`:

    ```
        public $actsAs = [
            'CakeConfigPlugin.InitConfig' => [
                'pluginName' => 'SomePluginName',
                'checkPath' => 'SomePluginName.param'
            ]
        ];
    ```
2. Create a configuration file in the `Config` directory of your plug-in, e.g.:` somepluginname.php`
3. Fill configuration file, e.g.:

    ```
        $config['SomePluginName'] = [
            'param' => 'value'
            ...
        ];
    ```
4. If necessary, copy config file from 'app/Plugin/SomePluginName/Config/somepluginname.php' to 'app/Config', and edit it.
5. If you need to overwrite the configuration parameter in the application, use:

    ```
    Configure::write('SomePluginName.param', 'newValue');

    //  After, in Model call:
    $this->initConfig(true);
    ```
6. For initialize plugin configuration, use:

    ```
    App::uses('InitConfig', 'CakeConfigPlugin.Utility');

    $pluginName = 'SomePluginName';
    $checkPath = 'SomePluginName.param';
    $configFile = 'somepluginname';
    $initConfig = new InitConfig($pluginName, $checkPath, $configFile);

    $force = false;
    $initConfig->initConfig($force);
    ```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

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

Total

4

Last Release

2737d ago

Major Versions

v0.1.3 → v1.0.02018-10-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/140887a79183c767c877d9ddb80aeaf88e0abd091f8dc1cd6e599ab7e30e1d82?d=identicon)[anklimsk](/maintainers/anklimsk)

---

Top Contributors

[![anklimsk](https://avatars.githubusercontent.com/u/42044955?v=4)](https://github.com/anklimsk "anklimsk (25 commits)")

---

Tags

cakephp-plugincakephp2configuration

### Embed Badge

![Health badge](/badges/anklimsk-cakephp-config-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/anklimsk-cakephp-config-plugin/health.svg)](https://phpackages.com/packages/anklimsk-cakephp-config-plugin)
```

###  Alternatives

[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/builder-plugin

Builder plugin for October CMS

17147.2k1](/packages/rainlab-builder-plugin)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5671.4k1](/packages/pfefferle-wordpress-activitypub)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

18238.1k2](/packages/civicrm-civicrm-drupal-8)[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1352.4k](/packages/mediawiki-semantic-glossary)[humanmade/lottie-lite

A lightweight Lottie Animations Extension for WordPress

374.3k](/packages/humanmade-lottie-lite)

PHPackages © 2026

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