PHPackages                             thecodingmachine/tdbm - 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. thecodingmachine/tdbm

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

thecodingmachine/tdbm
=====================

The Database Machine is a PHP ORM that requires no configuration. The object model is deduced from the database model.

v6.0.10(4mo ago)123174.9k↓18.9%28[21 issues](https://github.com/thecodingmachine/tdbm/issues)[13 PRs](https://github.com/thecodingmachine/tdbm/pulls)6MITPHPPHP ^8.0CI failing

Since Oct 18Pushed 4mo ago7 watchersCompare

[ Source](https://github.com/thecodingmachine/tdbm)[ Packagist](https://packagist.org/packages/thecodingmachine/tdbm)[ Docs](https://thecodingmachine.github.io/tdbm/)[ RSS](/packages/thecodingmachine-tdbm/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (26)Versions (76)Used By (6)

[![Latest Stable Version](https://camo.githubusercontent.com/526620c3a2feac0f2ff3ed1e4debbb5d1a104f6ca701cafe4eb062786d52e85f/68747470733a2f2f706f7365722e707567782e6f72672f746865636f64696e676d616368696e652f7464626d2f762f737461626c65)](https://packagist.org/packages/thecodingmachine/tdbm)[![Total Downloads](https://camo.githubusercontent.com/cf08f8a035e8c4116f52f56bcf9559a9407a1b5a5bab32df0bffa696dba22927/68747470733a2f2f706f7365722e707567782e6f72672f746865636f64696e676d616368696e652f7464626d2f646f776e6c6f616473)](https://packagist.org/packages/thecodingmachine/tdbm)[![Latest Unstable Version](https://camo.githubusercontent.com/046ac45b177adaf83f30479d4c5e16aa19f86be5e121b596c18ad2b31dd81882/68747470733a2f2f706f7365722e707567782e6f72672f746865636f64696e676d616368696e652f7464626d2f762f756e737461626c65)](https://packagist.org/packages/thecodingmachine/tdbm)[![License](https://camo.githubusercontent.com/bf6ce2f844c9b05ffa0102b6948949fc2cad7730fd1e8e22bcef432af04ce712/68747470733a2f2f706f7365722e707567782e6f72672f746865636f64696e676d616368696e652f7464626d2f6c6963656e7365)](https://packagist.org/packages/thecodingmachine/tdbm)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/73a7f8eecc67c30bdee0af697f65f5bc0195d4f469a8daeb2b97da11cdc83771/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746865636f64696e676d616368696e652f7464626d2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/thecodingmachine/tdbm/?branch=master)[![Build Status](https://camo.githubusercontent.com/b101ea762c43151552ea0e324529c2f221de577633ab3de11c509f80a2b0abaf/68747470733a2f2f7472617669732d63692e6f72672f746865636f64696e676d616368696e652f7464626d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/thecodingmachine/tdbm)[![Coverage Status](https://camo.githubusercontent.com/ed5ec8ceeb0ee1b79cada4044bd39920d18ecc06a0942c1fef46210a6050c34f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f746865636f64696e676d616368696e652f7464626d2f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/thecodingmachine/tdbm?branch=master)

TDBM (The DataBase Machine)
===========================

[](#tdbm-the-database-machine)

Check out [the documentation at https://thecodingmachine.github.io/tdbm/](https://thecodingmachine.github.io/tdbm/).

Run the test locally
--------------------

[](#run-the-test-locally)

You can run the tests with different backend thanks to the following scripts:

- [./tests/phpunit-pgsql.sh](./tests/phpunit-pgsql.sh)
- [./tests/phpunit-mariadb.sh](./tests/phpunit-mariadb.sh)
- [./tests/phpunit-mysql8.sh](./tests/phpunit-mysql8.sh)
- [./tests/phpunit-oracle.sh](./tests/phpunit-oracle.sh)

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance73

Regular maintenance activity

Popularity49

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 74.8% 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 ~41 days

Recently: every ~21 days

Total

73

Last Release

125d ago

Major Versions

v5.3.6 → v6.0.0-beta.02022-09-30

v5.3.7 → v6.0.0-beta.12023-01-12

v5.3.14 → v6.0.02025-06-10

v5.3.15 → v6.0.102026-01-13

PHP version history (4 changes)v5.0.0PHP &gt;=7.1

v5.1.12PHP &gt;=7.2

v5.3.0PHP ^7.4 || ^8.0

v6.0.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1104771?v=4)[mouf](/maintainers/mouf)[@Mouf](https://github.com/Mouf)

![](https://avatars.githubusercontent.com/u/1847918?v=4)[TheCodingMachine](/maintainers/thecodingmachine)[@thecodingmachine](https://github.com/thecodingmachine)

---

Top Contributors

[![moufmouf](https://avatars.githubusercontent.com/u/1290952?v=4)](https://github.com/moufmouf "moufmouf (845 commits)")[![homersimpsons](https://avatars.githubusercontent.com/u/16977446?v=4)](https://github.com/homersimpsons "homersimpsons (103 commits)")[![nguyenk](https://avatars.githubusercontent.com/u/2227554?v=4)](https://github.com/nguyenk "nguyenk (41 commits)")[![Kharhamel](https://avatars.githubusercontent.com/u/10496706?v=4)](https://github.com/Kharhamel "Kharhamel (26 commits)")[![dsavina](https://avatars.githubusercontent.com/u/22031211?v=4)](https://github.com/dsavina "dsavina (24 commits)")[![cbalda](https://avatars.githubusercontent.com/u/6704490?v=4)](https://github.com/cbalda "cbalda (16 commits)")[![vaidiep](https://avatars.githubusercontent.com/u/2227695?v=4)](https://github.com/vaidiep "vaidiep (15 commits)")[![brain-diminished](https://avatars.githubusercontent.com/u/10856512?v=4)](https://github.com/brain-diminished "brain-diminished (12 commits)")[![Fooriva](https://avatars.githubusercontent.com/u/11922438?v=4)](https://github.com/Fooriva "Fooriva (6 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (5 commits)")[![TheoBiron](https://avatars.githubusercontent.com/u/7087053?v=4)](https://github.com/TheoBiron "TheoBiron (5 commits)")[![npeguin](https://avatars.githubusercontent.com/u/2227721?v=4)](https://github.com/npeguin "npeguin (4 commits)")[![Zheness](https://avatars.githubusercontent.com/u/5830103?v=4)](https://github.com/Zheness "Zheness (3 commits)")[![Jfb77](https://avatars.githubusercontent.com/u/209118712?v=4)](https://github.com/Jfb77 "Jfb77 (3 commits)")[![xhuberty](https://avatars.githubusercontent.com/u/8350192?v=4)](https://github.com/xhuberty "xhuberty (3 commits)")[![jdreesen](https://avatars.githubusercontent.com/u/424602?v=4)](https://github.com/jdreesen "jdreesen (2 commits)")[![ThibBal](https://avatars.githubusercontent.com/u/6185745?v=4)](https://github.com/ThibBal "ThibBal (2 commits)")[![CamilleKoppel](https://avatars.githubusercontent.com/u/49161585?v=4)](https://github.com/CamilleKoppel "CamilleKoppel (2 commits)")[![nipaTCM](https://avatars.githubusercontent.com/u/25083883?v=4)](https://github.com/nipaTCM "nipaTCM (2 commits)")[![QuentinDubes](https://avatars.githubusercontent.com/u/19781715?v=4)](https://github.com/QuentinDubes "QuentinDubes (2 commits)")

---

Tags

persistenceormmodeldaobean

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/thecodingmachine-tdbm/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)

PHPackages © 2026

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