Download the PHP package tsantos/serializer without Composer
On this page you can find all versions of the php package tsantos/serializer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tsantos/serializer
More information about tsantos/serializer
Files in tsantos/serializer
Package serializer
Short Description Object (de)serializer component for PHP
License MIT
Informations about the package serializer
TSantos Serializer
TSantos Serializer is a library to encode/decode PHP objects to some string representation. Because of its exclusive serialization strategy, this library is the faster serialization component to PHP.
Instalation
You can install this library through composer:
composer require tsantos/serializer
or just add tsantos/serializer
to your composer file and then
composer update
Usage
The best way to get start with TSantos Serializer
is by using the builder.
With a few configurations you are ready to serialize your data:
This is the simplest example to get you started with TSantos Serializer. There are a lot of capabilities which you should know in order to master your serializer instance and take advantage of all library's power.
Features
Main features currently supported by TSantos Serializer:
- No need to mapping classes for simple use cases ...
- ... but supports
YAML
,XML
andAnnotations
mapping formats for advanced mapping - Supports
JSON
encoders - (De-)serializes objects of any depth
- Virtual properties
- Properties grouping
- Event listeners to hook into serialization operations
- (De-)serializes interfaces and abstract classes
Documentation
Please refer to the documentation page to see all allowed configurations.
Licence
MIT
Tests
vendor/bin/phpunit -c phpunit.xml.dist
All versions of serializer with dependencies
jms/metadata Version ^1.6
doctrine/instantiator Version ^1.1
symfony/event-dispatcher Version ^3.4 || ^4.0
symfony/property-info Version ^3.4 || ^4.0
phpdocumentor/reflection-docblock Version ^4.3
nette/php-generator Version ^3.2
pimple/pimple Version ^3.2