logikos / util
Utility Classes, including a config similar to Phalcon\Config, MutableConfig and ImmutableConfig
2.2.6
2018-12-07 18:42 UTC
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 throwsOutOfBoundsExceptionon assignment after construction - Strict Config - type safe config with validation.
- Mutable Config - adds