Database

Package pckg/database provides simple ORM for PDO, MySQL and Faker. Organize and map your database to records, entities, repositories, define data relations, handle changes with events and many more.

Installation

Require Composer package.

$ composer require pckg/database

Usage

Repository

See Repository.

Entity

See Entity.

Relations

See Relations.

Record

See Record.

Model

See Model

Events

See Events

Extensions

See Extensions

Last updated

Was this helpful?