A powerful library to serialize and append/filter data from your php objects or native php types (arrays, strings, integer...). Ready for production use.
Via Composer
$ composer require uvinum/joiner
$joiner = new Joiner(new ArraySerializer(new DefaultStrategy()), new ArrayManipulator());
$myObject = new MyObject();
$mySecondObject = new MySecondObject();
$joiner
->join($myObject)
->append($mySecondObject)
->filter('secondObjectFieldName');
$serializedOutput = $joiner->execute();
Follow docs section to read about full capabilities.
$ composer test
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.