Linio Util is a generic component that provides many helper classes, such as JSON parsing, conversion tools, data structures, etc.
The recommended way to install Linio Util is through composer.
$ composer require linio/utilTo run the test suite, you need install the dependencies via composer, then run PHPUnit.
$ composer install
$ vendor/bin/phpunitThe library includes a JSON wrapper around json_encode and json_decode,
allowing you to handle parsing errors with exceptions.
<?php
Json::encode(['foo' => 'bar']);
Json::decode('{"foo":"bar"}');The library includes a small string manipulation library, with common operations in string datatypes.
<?php
Inflector::pascalize('my-test'); // MyTest
Inflector::camelize('my-test'); // myTest
