PHPackages                             fwk/db - 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. fwk/db

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

fwk/db
======

Lightweight Database ORM for Happy Developers

v2.0.0(10y ago)2642BSD-3-ClausePHPPHP &gt;=5.5

Since Jul 23Pushed 9y agoCompare

[ Source](https://github.com/fwk/Db)[ Packagist](https://packagist.org/packages/fwk/db)[ RSS](/packages/fwk-db/feed)WikiDiscussions master Synced 6d ago

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

Fwk\\Db (Zero-config Database ORM)
==================================

[](#fwkdb-zero-config-database-orm)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3abbbe7c10e277fa697ce141bae7654a98aff3d4493486e26f751879a18e2bcd/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f66776b2f44622f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/fwk/Db/?branch=master)[![Build Status](https://camo.githubusercontent.com/43201b8a33048ea7298c554a84dd1158737d3ba13befbc76166821430c08f56f/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f66776b2f44622e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/fwk/Db)[![Code Coverage](https://camo.githubusercontent.com/e1061c4a43b3bce4c15b077c0d9fd231897707a172be9eec6248176d1bd3db72/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f66776b2f44622f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/fwk/Db/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/2dd549ef72679f9cab064d4fbdd5eefcca39303e5c44a0b8a1c1c41a3d637ecb/68747470733a2f2f706f7365722e707567782e6f72672f66776b2f64622f762f737461626c652e706e67)](https://packagist.org/packages/fwk/db)[![Total Downloads](https://camo.githubusercontent.com/4fe0c70ccdbf565cf27ad0792474afe68f744043de94781100e582268c051f26/68747470733a2f2f706f7365722e707567782e6f72672f66776b2f64622f646f776e6c6f6164732e706e67)](https://packagist.org/packages/fwk/db)[![Latest Unstable Version](https://camo.githubusercontent.com/e68bfe6bbd83e44173f84db4b4cd2f48515ea9d0525f8f8562fce02d19abf02a/68747470733a2f2f706f7365722e707567782e6f72672f66776b2f64622f762f756e737461626c652e706e67)](https://packagist.org/packages/fwk/db)[![License](https://camo.githubusercontent.com/3f6a901b65c4b75dc546ea157733d210942e0574495c126461fa1af90218caf8/68747470733a2f2f706f7365722e707567782e6f72672f66776b2f64622f6c6963656e73652e706e67)](https://packagist.org/packages/fwk/db)

Simple and efficient Object-Oriented API to Databases.

Learn more in [docs/](./docs) !

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

[](#installation)

Via [Composer](http://getcomposer.org):

```
composer require fwk/db:dev-master

```

If you don't use Composer, you can still [download](https://github.com/fwk/Db/zipball/master) this repository and add it to your `include_path` [PSR-0 compatible](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md).

Contributions / Community
-------------------------

[](#contributions--community)

- Fork this repository! Any contribution is welcome 🍺 !
- Issues on Github:
- Follow *Fwk* on Twitter: [@phpfwk](https://twitter.com/phpfwk)

Legal
-----

[](#legal)

Fwk is licensed under the 3-clauses BSD license. Please read [LICENSE](./LICENSE) for full details.

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

3

Last Release

3707d ago

Major Versions

v1.0.0 → v2.0.02016-06-19

PHP version history (2 changes)1.0.x-devPHP &gt;=5.3.3

v2.0.0PHP &gt;=5.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/57451?v=4)[Julien](/maintainers/neiluJ)[@neiluJ](https://github.com/neiluJ)

---

Top Contributors

[![neiluJ](https://avatars.githubusercontent.com/u/57451?v=4)](https://github.com/neiluJ "neiluJ (80 commits)")

---

Tags

databasefwkormdatabaselibraryormmysqltooldbfastlightweight

### Embed Badge

![Health badge](/badges/fwk-db/health.svg)

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

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58926.6M60](/packages/scienta-doctrine-json-functions)[leantime/leantime

Open source project management system for non-project managers. Simple like Trello, powerful like Jira. Built with neurodiversity in mind.

11.3k4.0k](/packages/leantime-leantime)[rah/danpu

Zero-dependency MySQL dump library for easily exporting and importing databases

62416.0k12](/packages/rah-danpu)[tommyknocker/pdo-database-class

Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. Zero external dependencies.

856.1k](/packages/tommyknocker-pdo-database-class)

PHPackages © 2026

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