radioactivehamster / json
A PHP Helper class for reading and writing JSON files.
0.1.4
2016-02-24 17:25 UTC
Requires
- php: ~5.5|~7.0
- ext-json: *
Requires (Dev)
- fabpot/php-cs-fixer: ^1.11
- phpspec/phpspec: ^2.4
- symfony/var-dumper: ^3.0
This package is not auto-updated.
Last update: 2024-11-09 19:40:35 UTC
README
A PHP Helper class for reading and writing JSON files.
Install
$ composer require radioactivehamster/json
Usage
<?php use RadHam\Json; $file = 'hello-world.json'; $json = Json::parseFile($file); Json::writeFile('my-hello-world.json', $json);
License
The MIT License (Expat). See the license file for details.