1.0.x-dev
1.0.9999999.9999999-dev http://www.safanlab.comORM
MIT
The Requires
- php >=5.4.0
by Safan Lab
orm database
dev-master
9999999-dev http://www.safanlab.comORM
MIT
The Requires
- php >=5.3.3
by Safan Lab
orm database
ORM
ORM for connect database and use PDO driver, (*1)
PHP > 5.3.0, (*2)
If you're using Composer for your project's dependencies, add the following to your "composer.json":, (*3)
"require": { "gap-db/orm": "1.0.*" }
Update Modules Config List - safan-framework-standard/application/Settings/modules.config.php, (*4)
<?php return array( // Safan Framework default modules route 'Safan' => 'vendor/safan-lab/safan/Safan', 'SafanResponse' => 'vendor/safan-lab/safan/SafanResponse', // Write created or installed modules route here ... e.g. 'FirstModule' => 'application/Modules/FirstModule' 'GapOrm' => 'vendor/gap-db/orm/GapOrm' );
Add Configuration - safan-framework-standard/application/Settings/main.config.php, (*5)
<?php 'init' => array( 'gap' => array( 'class' => 'GapOrm\GapOrm', 'method' => 'init', 'params' => array( 'driver' => 'pdo', 'host' => 'localhost', 'user' => '', 'password' => '', 'db' => '', 'charset' => 'utf-8', 'debug' => false, ) ) )
ORM
MIT
orm database
ORM
MIT
orm database