qlimix/encoding-json
Composer 安装命令:
composer require qlimix/encoding-json
包简介
Encoding & decoding array's to string and vice versa
README 文档
README
Encode and decode json based on the qlimix/encoding package.
Install
Using Composer:
$ composer require qlimix/encoding-json
usage
<?php use Qlimix/Encoding/Encode/JsonEncode; use Qlimix/Encoding/Decode/JsonDecode; $encode = new JsonEncode(); $decode = new JsonDecode(); $value = ['foo' => 'bar', 'number' => 1]; $encoded = $encode->encode($value); $decode = $decode->decode($encoded);
Testing
To run all unit tests locally with PHPUnit:
$ vendor/bin/phpunit
Quality
To ensure code quality run grumphp which will run all tools:
$ vendor/bin/grumphp run
Contributing
Please see CONTRIBUTING for details.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-06-15