logikos / util
Utility Classes, including a config similar to Phalcon\Config, MutableConfig and ImmutableConfig
Installs: 112 798
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 0
Requires
- php: ^7.0
- particle/validator: ^2.3
Requires (Dev)
- phpstan/phpstan: ^0.8.5
- phpunit/phpunit: ^6.0
README
Logikos\Util
Utility classes
Installation
Composer
Install Composer in a common location or in your project:
curl -s http://getcomposer.org/installer | php
Require library:
composer.phar require logikos/util
GitHub
Just clone the repository in a common location or inside your project:
git clone https://github.com/logikostech/util.git
Documentation
- Abstract Config - base config object largely inspired by Phalcon\Config
- Mutable Config - adds
set($key, $value)
andmerge(Config $config)
- Immutable Config - adds
with($key, $value)
and throwsOutOfBoundsException
on assignment after construction - Strict Config - type safe config with validation.
- Mutable Config - adds