PHPackages                             anper/jsonbox - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. anper/jsonbox

AbandonedArchivedLibrary[Parsing &amp; Serialization](/categories/parsing)

anper/jsonbox
=============

PHP wrapper for https://jsonbox.io

v0.6.0(5y ago)135MITPHPPHP ^7.1||^8.0

Since Sep 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/perevoshchikov/jsonbox)[ Packagist](https://packagist.org/packages/anper/jsonbox)[ Docs](https://github.com/perevoshchikov/jsonbox)[ RSS](/packages/anper-jsonbox/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (5)Versions (8)Used By (0)

Anper\\Jsonbox
==============

[](#anperjsonbox)

[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE.md)[![Latest Version on Packagist](https://camo.githubusercontent.com/25bbd04cbff5a57af118904e59a3c32ecbcb9320ac9c58cd98ff0e9102f6c9f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e7065722f6a736f6e626f782e737667)](https://packagist.org/packages/anper/jsonbox)[![Build Status](https://github.com/perevoshchikov/jsonbox/workflows/Tests/badge.svg)](https://github.com/perevoshchikov/jsonbox/actions)

PHP wrapper / Client SDK for [jsonbox](https://github.com/vasanthv/jsonbox)

Install
-------

[](#install)

```
$ composer require anper/jsonbox
```

Usage
-----

[](#usage)

```
use Anper\Jsonbox\Jsonbox;

$jsonbox = Jsonbox::factory('box-id');
```

**Create**

```
// Create a record
$response = $jsonbox->create(['name' => 'Arya Stark']);

// Create multiple records
$response = $jsonbox->create([
    ['name' => 'Daenerys Targaryen'],
    ['name' => 'Arya Stark'],
]);

// Create a collection
$response = $jsonbox->colletion('users')
    ->create(/* like one record or multiple records */);
```

**Read**

```
// Read a record
$response = $jsonbox->record('5d776a25fd6d3d6cb1d45c51')->read();

// Read a collection
$response = $jsonbox->collection('users')->read();

// Read all
$response = $jsonbox->read();
```

**Filtering**

```
$filter = new \Anper\Jsonbox\Filter();
$filter->equalTo('name', 'Arya Stark');

// Filter all
$response = $jsonbox->read($filter);

// Filter collection
$response = $jsonbox->collection('users')->read($filter);
```

**Update**

```
// Update a record
$response = $jsonbox->record('5d776a25fd6d3d6cb1d45c51')
    ->update(['name' => 'Arya Stark']);

// Update multiple records (async request for every record)
$response = $jsonbox->update([
    '5d776b75fd6d3d6cb1d45c52' => ['name' => 'Daenerys Targaryen'],
    '5d776b75fd6d3d6cb1d45c53' => ['name' => 'Arya Stark'],
]);
```

**Delete**

```
// Delete a record
$response = $jsonbox->record('5d776a25fd6d3d6cb1d45c51')->delete();

// Delete multiple records (async request for every record)
$response = $jsonbox->delete([
    '5d776b75fd6d3d6cb1d45c52',
    '5d776b75fd6d3d6cb1d45c53',
]);

// Delete by filter
$response = $jsonbox->delete($filter);
```

**Protected Box**

```
// An API-KEY should be a valid GUID/UUID
$protectedJsonbox = $jsonbox->withApiKey('API_KEY');
```

Test
----

[](#test)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~78 days

Recently: every ~116 days

Total

7

Last Release

1955d ago

PHP version history (2 changes)v0.1.0PHP ~7.1

v0.6.0PHP ^7.1||^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce306161a01df4a895da862f7d0bd7361898e2932e62345f20ce773a84fa5a10?d=identicon)[perevoshchikov](/maintainers/perevoshchikov)

---

Top Contributors

[![perevoshchikov](https://avatars.githubusercontent.com/u/13899175?v=4)](https://github.com/perevoshchikov "perevoshchikov (33 commits)")

---

Tags

jsonboxjsonjsonbox

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/anper-jsonbox/health.svg)

```
[![Health](https://phpackages.com/badges/anper-jsonbox/health.svg)](https://phpackages.com/packages/anper-jsonbox)
```

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k135.8M851](/packages/jms-serializer)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[colinodell/json5

UTF-8 compatible JSON5 parser for PHP

30422.2M45](/packages/colinodell-json5)[clue/ndjson-react

Streaming newline-delimited JSON (NDJSON) parser and encoder for ReactPHP.

15267.7M16](/packages/clue-ndjson-react)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
