byjg / serializer
Serialize any object into array and format it JSON or XML
                                    Fund package maintenance!
                                                                            
                                                                                                                                        byjg
                                                                                    
                                                                
Installs: 140 305
Dependents: 4
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 1
Open Issues: 1
pkg:composer/byjg/serializer
Requires
- php: >=8.1 <8.4
- ext-json: *
- ext-simplexml: *
- symfony/yaml: > 4
Requires (Dev)
- phpunit/phpunit: ^9.6
- vimeo/psalm: ^5.9
Suggests
- ext-curl: *
README
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