InitPHP Database

Query builder, DBAL and active-record ORM for PHP 8.1+, with a server-side DataTables.js helper built in.

PHP 8.1+ MIT v4.0.0

Installation

terminal
$ composer require initphp/database

Requires PHP 8.1+. The package is published on Packagist as initphp/database.

What Database does

PHP 8.1+ query builder, DBAL and active-record ORM — with a server-side DataTables.js helper out of the box. Built on the InitORM stack, so the query builder, DBAL and ORM layers can each be used on their own or stacked together.

Package details

Composer package
initphp/database
Latest version
4.0.0
Released
2026-05-24
Requires
PHP 8.1+ (^8.1)
License
MIT
PHP extensions
ext-pdo
Depends on
initorm/orm