CakeDb

CakeDb is an ORM using the active record and data mapper pattern idea. It is the same as the one provided in CakePHP3.

Install Ray.CakeDbModule with composer.

composer require ray/cake-database-module ~1.0

Please refer to Ray.CakeDbModule for installation and refer to CakePHP3 Database Access & ORM for the ORM usage.

Ray.CakeDbModule is provided by Jose (@lorenzo) who developed the ORM of CakePHP3.

Connection settings

Use the phpdotenv library etc. to set the connection according to the environment destination. Please see the Ex.Package for implementation.