-
Notifications
You must be signed in to change notification settings - Fork 0
About
Bojan edited this page Oct 11, 2017
·
6 revisions
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.
For standalone usage simply require pckg/database in composer.
$ composer require pckg/database
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
Test can be run with codeception
$ cp ./codeception.sample.yml ./codeception.yml
$ codecept run