ivory/serializer-bundle
最新稳定版本:1.0.3
Composer 安装命令:
composer require ivory/serializer-bundle
包简介
Serializer for PHP 7.0+ supporting JSON, XML, YAML & CSV
关键字:
README 文档
README
The bundle provides an integration of the Ivory Serializer library for your Symfony project.
use Ivory\Serializer\Format; $stdClass = new \stdClass(); $stdClass->foo = true; $stdClass->bar = ['foo', [123, 432.1]]; $serializer = $container->get('ivory.serializer'); echo $serializer->serialize($stdClass, Format::JSON); // {"foo": true,"bar": ["foo", [123, 432.1]]} $deserialize = $serializer->deserialize($json, \stdClass::class, Format::JSON); // $deserialize == $stdClass
Documentation
Testing
The bundle is fully unit tested by PHPUnit with a code coverage close to 100%. To execute the test suite, check the travis configuration.
Contribute
We love contributors! Ivory is an open source project. If you'd like to contribute, feel free to propose a PR! You can follow the CONTRIBUTING file which will explain you how to set up the project.
License
The Ivory Google Map Bundle is under the MIT license. For the full copyright and license information, please read the LICENSE file that was distributed with this source code.
统计信息
- 总下载量: 99.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-06-13