logikos/util

Utility Classes, including a config similar to Phalcon\Config, MutableConfig and ImmutableConfig

2.2.6 2018-12-07 18:42 UTC

This package is auto-updated.

Last update: 2024-03-25 01:34:39 UTC


README

Travis CI Scrutinizer Code Quality Coverage Status CodeCov Minimum PHP Version Software License

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) and merge(Config $config)
    • Immutable Config - adds with($key, $value) and throws OutOfBoundsException on assignment after construction
    • Strict Config - type safe config with validation.