B2DB is a lightweight ORM for modern PHP applications

v3.0.1 2019-03-25 13:54 UTC


B2db is a lightweight ORM and DBAL for modern PHP applications (7.1 or newer), that works MySQL, MariaDB, Postgres and Microsoft SQL server.

B2db uses a Data Mapper pattern implementing Active Records. Read more about the architecture in b2db architecture

Getting started

Install composer

B2db uses composer for dependency management, and should be installed and used via composer.

For more information about how to set up b2db, see Installation and setup


Browse the documentation.