You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. It works really well with pckg/framework.
Installation
For standalone usage simply require pckg/database in composer.
$ composer require pckg/database
Dependencies
Package depends on several composer packages:
pckg/concept
pckg/collection
pckg/cache
pckg/locale
And some optional packages
maximebf/debugbar - for better debugging experience on frontend when developing web applications
fzaninotto/faker - for automatic tests and dummy data retrieval
Tests
Test can be run with codeception
$ cp ./codeception.sample.yml ./codeception.yml
$ codecept run