PHPackages                             pspepp3r/php-json - 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. pspepp3r/php-json

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

pspepp3r/php-json
=================

A PHP package for CRUD operation on JSON file.

v1.0.1(3mo ago)13MITPHP

Since Feb 14Pushed 3mo agoCompare

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

READMEChangelogDependencies (1)Versions (3)Used By (0)

PHP JSON - CRUD Operations on JSON Files
========================================

[](#php-json---crud-operations-on-json-files)

A lightweight PHP library for performing CRUD (Create, Read, Update, Delete) operations on JSON files with an intuitive, fluent API.

Table of Contents
-----------------

[](#table-of-contents)

- [Features](#features)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Core Components](#core-components)
- [API Reference](#api-reference)
- [Testing](#testing)
- [Examples](#examples)

Features
--------

[](#features)

- **Simple API**: Fluent interface for easy JSON manipulation
- **CRUD Operations**: Create, read, update, and delete JSON data seamlessly
- **Type Support**: Work with objects, arrays, and complex nested structures
- **Data Serialization**: Convert JSON to PHP objects with automatic type hydration
- **File Management**: Automatic file creation and management
- **Well Tested**: Comprehensive test suite with PHPUnit

Installation
------------

[](#installation)

This package is installed with Composer dependencies. To use it in a PHP project:

```
composer require pspepp3r/php-json
```

Quick Start
-----------

[](#quick-start)

### Create a New JSON File

[](#create-a-new-json-file)

```
