PHPackages                             realtydev/statamic-database - 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. [Database &amp; ORM](/categories/database)
4. /
5. realtydev/statamic-database

ActiveLibrary[Database &amp; ORM](/categories/database)

realtydev/statamic-database
===========================

Allows you to store all Statamic data in a database..

v1.5.2(4y ago)044PHP

Since Jun 1Pushed 4y agoCompare

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

READMEChangelog (1)Dependencies (3)Versions (30)Used By (0)

Statamic Database Driver
------------------------

[](#statamic-database-driver)

An eloquent driver for Statamic V3 which supports:

- Asset Containers
- Blueprints
- Collections
- Entries
- Fieldsets
- Forms / Form Submissions
- Global Sets
- Navigation
- Taxonomies/Terms
- Trees

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

[](#installation)

From a standard Statamic V3 site, you can run: `composer require realtydev/statamic-database`

Run migrations: `php please migrate`

Then in the register function of your AppServiceProvider, add:

```
public function register()
{
    $this->app->singleton(
        'Statamic\Fields\BlueprintRepository',
        'Realtydev\StatamicDatabase\Blueprints\BlueprintRepository'
    );

    $this->app->singleton(
        'Statamic\Fields\FieldsetRepository',
        'Realtydev\StatamicDatabase\Fieldsets\FieldsetRepository'
    );
}

```

And that should be it!

Issues/Things to work on
------------------------

[](#issuesthings-to-work-on)

- No tests.
- Still needs user roles/groups adding.
- No real world testing done yet, so probably some more to be added.

Credits
-------

[](#credits)

Thanks to [@statamic](https://statamic.dev/) for creating the entries part of this in [statamic/eloquent-driver](https://github.com/statamic/eloquent-driver), which a lot of this was based off.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 95.5% 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 ~8 days

Recently: every ~41 days

Total

26

Last Release

1616d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ad6519dc923802aba893ec289fff4edc09dc495fc22dcac5d4c28931d884d107?d=identicon)[realty-dev](/maintainers/realty-dev)

---

Top Contributors

[![Daynnnnn](https://avatars.githubusercontent.com/u/25618897?v=4)](https://github.com/Daynnnnn "Daynnnnn (63 commits)")[![realtydev](https://avatars.githubusercontent.com/u/35852411?v=4)](https://github.com/realtydev "realtydev (3 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/realtydev-statamic-database/health.svg)

```
[![Health](https://phpackages.com/badges/realtydev-statamic-database/health.svg)](https://phpackages.com/packages/realtydev-statamic-database)
```

###  Alternatives

[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4485.3M4](/packages/martin-georgiev-postgresql-for-doctrine)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[overtrue/laravel-versionable

Make Laravel model versionable.

585308.0k5](/packages/overtrue-laravel-versionable)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[worksome/foggy

Foggy is a tool for making database dumps with some data removed/changed.

26571.7k1](/packages/worksome-foggy)

PHPackages © 2026

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