PHPackages                             dayjo/php-json-handler - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. dayjo/php-json-handler

ActiveLibrary[File &amp; Storage](/categories/file-storage)

dayjo/php-json-handler
======================

Class for opening and writing to json files easily

v1.0.16(8y ago)28812MITPHP

Since Oct 2Pushed 8y agoCompare

[ Source](https://github.com/Dayjo/php-json-handler)[ Packagist](https://packagist.org/packages/dayjo/php-json-handler)[ RSS](/packages/dayjo-php-json-handler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (12)Used By (2)

PHP JSON Handler
================

[](#php-json-handler)

Class to open, modify and write json objects in files.

Installation (without composer)
-------------------------------

[](#installation-without-composer)

Just include the `json.php` file.

```
require 'src/json.php';
```

Alternatively, namespace and autoload it.

Installation (with composer)
----------------------------

[](#installation-with-composer)

```
composer require dayjo/php-json-handler
```

Then use;

```
use Dayjo\JSON;
```

Usage
-----

[](#usage)

Basic usage includes auto saving, so you just modify the data and it saves!

```
