PHPackages                             meita/jsonbolt - 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. [Framework](/categories/framework)
4. /
5. meita/jsonbolt

ActiveLibrary[Framework](/categories/framework)

meita/jsonbolt
==============

JSONBolt: fast JSON file database engine with relations and caching for PHP.

1.0.0(4mo ago)011MITPHPPHP &gt;=8.0

Since Dec 21Pushed 4mo agoCompare

[ Source](https://github.com/EngMEita/jsonbolt)[ Packagist](https://packagist.org/packages/meita/jsonbolt)[ RSS](/packages/meita-jsonbolt/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

JSONBolt (DBE)
==============

[](#jsonbolt-dbe)

JSONBolt is a fast file-based JSON database engine for PHP. It stores collections as JSON files, provides CRUD, a fluent query builder, relationships, and caching. It works in any PHP framework and includes optional Laravel integration.

Composer package: `meita/jsonbolt`. PHP namespace: `Meita\\JsonBolt`.

Features
--------

[](#features)

- JSON file storage with atomic writes and file locks
- CRUD operations and bulk inserts
- Fluent query builder with common operators
- Relationships: hasOne, hasMany, belongsTo, belongsToMany
- PSR-16 caching with built-in FileCache and ArrayCache
- Framework-agnostic core with optional Laravel service provider and facade

Requirements
------------

[](#requirements)

- PHP 8.0+
- ext-json

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

[](#installation)

```
composer require meita/jsonbolt
```

Quick start
-----------

[](#quick-start)

```
