lazarusphp/lazarusdb

Database class for Lazarusphp framework

Maintainers

Package info

github.com/Lazarusphp/Database

pkg:composer/lazarusphp/lazarusdb

Statistics

Installs: 19

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-03-02 11:55 UTC

This package is auto-updated.

Last update: 2026-03-02 16:54:26 UTC


README

instantiation

use LazarusPhp\Database;
Connection::make($type,$hostname,$username,$password,$dbname);

if a .env file is loaded it is possible to pass them to the database class allowing parameters to be left empty.

Lazarus Database class is not designed to be called as a standalone but extended from other classes such as

(QueryBuilder)[https://github.com/lazarusphp/queryBuilder]