ADmad e0f3c54f47 Update docblock 4 years ago
..
Configure ff0d53b8cd Fix up doc typos or missing class links. 4 years ago
Exception f2a1b912b6 More assoc array docs. 4 years ago
Retry c4231248f8 Fix some grammar topics. 4 years ago
App.php 7b17f37d58 Fix auth adapter loading without App.namespace (#16260) 4 years ago
BasePlugin.php ff0d53b8cd Fix up doc typos or missing class links. 4 years ago
ClassLoader.php 8a92cfb447 Removes need for one baseline silencing. 4 years ago
Configure.php 48029722bc Improve assoc array docs 4 years ago
ConsoleApplicationInterface.php cf569b9c15 Fix CS error. 7 years ago
Container.php 006ae853c2 Add Application interface and BasePlugin methods 5 years ago
ContainerApplicationInterface.php 5fd9a2c16c Change return type of ContainerApplicationInterface::services() to avoid. 5 years ago
ContainerInterface.php 6c2cb80071 Update league/container to v4. 4 years ago
ConventionsTrait.php 998871bddc Use lowercased type names for paths to non source/class files. 6 years ago
HttpApplicationInterface.php cbb4a2eb19 Fix up variable 6 years ago
InstanceConfigTrait.php 48029722bc Improve assoc array docs 4 years ago
LICENSE.txt c1c20661ad Add missing LICENSE file to console package 5 years ago
ObjectRegistry.php ff0d53b8cd Fix up doc typos or missing class links. 4 years ago
Plugin.php 42f18b7794 Convert single type[] array hints to array<type> hints 4 years ago
PluginApplicationInterface.php bb4d2c947c Document the assoc arrays as per their string key. 4 years ago
PluginCollection.php e0f3c54f47 Update docblock 4 years ago
PluginInterface.php 42f18b7794 Convert single type[] array hints to array<type> hints 4 years ago
README.md cfe283cfeb Improve wording, grammar, punctuation etc. 5 years ago
ServiceConfig.php ff0d53b8cd Fix up doc typos or missing class links. 4 years ago
ServiceProvider.php 328acd34d9 Add ServiceProvider::provides(). 4 years ago
StaticConfigTrait.php 48029722bc Improve assoc array docs 4 years ago
composer.json 2a3c42e6f4 Revert "Merge branch '4.x' into 4.next" 4 years ago
functions.php 8f25dfe3cd Remove unneeded variable assignment. 4 years ago

README.md

Total Downloads License

CakePHP Core Classes

A set of classes used for configuration files reading and storing. This repository contains the classes that are used as glue for creating the CakePHP framework.

Usage

You can use the Configure class to store arbitrary configuration data:

use Cake\Core\Configure;
use Cake\Core\Configure\Engine\PhpConfig;

Configure::write('Company.name','Pizza, Inc.');
Configure::read('Company.name'); // Returns: 'Pizza, Inc.'

It also possible to load configuration from external files:

Configure::config('default', new PhpConfig('/path/to/config/folder'));
Configure::load('app', 'default', false);
Configure::load('other_config', 'default');

And write the configuration back into files:

Configure::dump('my_config', 'default');

Documentation

Please make sure you check the official documentation