Skip to content

A powerful library to serialize and append/filter data from your php objects or native php types (arrays, strings, integer...)

License

Notifications You must be signed in to change notification settings

obokaman-com/joiner

 
 

Repository files navigation

Joiner

Software License Build Status Scrutinizer Code Quality

A powerful library to serialize and append/filter data from your php objects or native php types (arrays, strings, integer...). Ready for production use.

Install

Via Composer

$ composer require uvinum/joiner

Basic Usage

$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.

Testing

$ composer test

Contributing

Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see License File for more information.

About

A powerful library to serialize and append/filter data from your php objects or native php types (arrays, strings, integer...)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%