Skip to content

Serialize any object into array and bind any data structure to an object/array; Can (de)serialize into JSON or XML.

License

Notifications You must be signed in to change notification settings

byjg/php-serializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serializer

Build Status Opensource ByJG GitHub source GitHub license GitHub release

The Serializer library is a versatile tool that allows you to convert any object, array, or stdClass into JSON, XML, YAML, or an array. It also enables you to apply filters to properties during the conversion process. Additionally, you can parse attributes and apply transformations to property values on the fly.

The library also allows you to copy content from one object to another, even if their properties differ.

For more information, please check:

Install

composer require "byjg/serialize"

Test

./vendor/bin/phpunit

Dependencies

flowchart TD
    byjg/serializer --> ext-json
    byjg/serializer --> symfony/yaml
    byjg/serializer --> ext-simplexml
Loading

Open source ByJG

About

Serialize any object into array and bind any data structure to an object/array; Can (de)serialize into JSON or XML.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages