Download the PHP package brendt/php-make-object without Composer
On this page you can find all versions of the php package brendt/php-make-object. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download brendt/php-make-object
More information about brendt/php-make-object
Files in brendt/php-make-object
Package php-make-object
Short Description Simple wrapper for symfony/serializer for the 90% use-case
License MIT
Homepage https://github.com/brendt/php-make-object
Informations about the package php-make-object
Simple wrapper for symfony/serializer for the 90% use-case
Write this:
instead of this:
Installation
You can install the package via composer:
Usage
This package abstracts away all configuration needed for complex deserialization with symfony/serializer. All you need to do is say which class you want to make, provide it some input (arrays, JSON, XML, files or objects), and this package will take care of the rest.
Added bonus: proper static analysis, so you'll know what kind of object was created.
Input types
Arrays
JSON
XML
Files
The Make interface
The Make interface can be added on any class, allowing that class to provide data that can be used to create an object.
Collections
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of php-make-object with dependencies
illuminate/collections Version ^9.42
phpdocumentor/reflection-docblock Version ^5.3
symfony/property-access Version ^6.0
symfony/serializer Version ^6.0
symfony/validator Version ^6.2