PHPackages                             joaojoyce/phlatdb - 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. joaojoyce/phlatdb

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

joaojoyce/phlatdb
=================

A flat file db for PHP

0.0.2(10y ago)023MITPHP

Since Mar 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/joaojoyce/phlatdb)[ Packagist](https://packagist.org/packages/joaojoyce/phlatdb)[ RSS](/packages/joaojoyce-phlatdb/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

Phlatdb!
========

[](#phlatdb)

A simple flat file database for PHP.

By using a simple flat file database written in PHP you can start simple projects with a working database without the need for any configuration, database migration, etc...

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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 ~4 days

Total

2

Last Release

3710d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c5bebf3b5aacf2d3cd5e71927b69968af8da812e12563502720dec060ed660d0?d=identicon)[joao.joyce](/maintainers/joao.joyce)

---

Top Contributors

[![joaojoyce](https://avatars.githubusercontent.com/u/5451182?v=4)](https://github.com/joaojoyce "joaojoyce (26 commits)")

---

Tags

databasedbflatphlatflat file db

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/joaojoyce-phlatdb/health.svg)

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

###  Alternatives

[robmorgan/phinx

Phinx makes it ridiculously easy to manage the database migrations for your PHP app.

4.5k46.2M405](/packages/robmorgan-phinx)[spatie/laravel-translation-loader

Store your language lines in the database, yaml or other sources

8362.9M51](/packages/spatie-laravel-translation-loader)[aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.

4572.9M34](/packages/aura-sqlquery)[envms/fluentpdo

FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.

925511.7k13](/packages/envms-fluentpdo)[greg0/lazer-database

PHP library to use JSON files like flat-file database

28816.5k4](/packages/greg0-lazer-database)[danielme85/laravel-log-to-db

Custom Laravel Log channel handler that can store log events to SQL or MongoDB databases. Uses Laravel native logging functionality.

135934.5k1](/packages/danielme85-laravel-log-to-db)

PHPackages © 2026

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