cbc / configuration
Provides a simple configuration utility.
Installs: 122
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/cbc/configuration
Requires (Dev)
- phpunit/phpunit: 4.1.*
This package is not auto-updated.
Last update: 2025-10-07 13:41:48 UTC
README
#Configuration
A simple configuration object for your every configuration need.
##Getting Started
@TODO: Complete getting started
Example:
use CBC\Utility\Configuration; $config = [ 'database' => [ 'username' => 'db_username', 'password' => 'db_password' ] ]; $config['database.name'] = 'db_name'; $configuration = new Configuration($config); var_dump($configuration->get('database.username')); // outputs: // string (11) 'db_username' var_dump($configuration->get('database')); // outputs: // array(3) [ // 'username' => 'db_username', // 'password' => 'db_password', // 'name' => 'db_name' // ]