bovsunovsky / serialize-study-library
This is a serializeStudyLibrary project.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
pkg:composer/bovsunovsky/serialize-study-library
Requires
- php: >=7.4
- spatie/array-to-xml: ^2.12
- symfony/yaml: ^5.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.14
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2025-10-06 20:38:33 UTC
README
This is a study serialize library.
Installation
Either run
composer require bovsunovsky/serialize-study-library
or add
"bovsunovsky/serialize-study-library": "~2.0"
to the require section of your composer.json.
Usage
- Add: use BOA\Serializer;
- Set returned format by method setReturnedFormat(),
- Call method serialize($data);
Example:
$seralizer = new Serializer(); $seralizer->setReturnedFormat('xml'); echo $seralizer->serialize($data);
Tests
Run with console :" ./tests/serializeTest" or "php tests/serializeTest"
License
This project is released under the terms of the BSD-3-Clause license.
Copyright (c) 2020, Alexandr Bovsunovsky