An open API service indexing awesome lists of open source software.

https://github.com/s-me/album


https://github.com/s-me/album

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# zf2 album with doctrine2 ORM

This is a simple module from zf2 doc tutorial with doctrine2 ORM

# Install
clone the module to your application

add new file named doctrine.local.php to config\autoload if not exists, (config\autoload\doctrine.local.php)

add this :

array(
'connection' => array(
'orm_default' => array(
'driverClass' =>'Doctrine\DBAL\Driver\PDOMySql\Driver',
'params' => array(
'host' => 'localhost',
'port' => '3306',
'user' => 'your-username',
'password' => 'your_password',
'dbname' => 'your_database',
)))));

add this key 'Album' to application.config.php.