Skip to content

WebDevBr/eloquent-zf2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Eloquent for Zend Framework 2

Instalation

Run:

composer require webdevbr/eloquent-zf2

Configuration

In the config\autoload\global.php put:

return array(
    'database' => [
    	'default' => [
		    'driver'    => 'mysql',
		    'host'      => 'localhost',
		    'database'  => 'database',
		    'username'  => 'root',
		    'password'  => 'password',
		    'charset'   => 'utf8',
		    'collation' => 'utf8_unicode_ci',
		    'prefix'    => '',
		]
    ],
    'eloquent' => [
    	'database_default'=>'default',
    	'setAsGlobal'=>true,
    ]
);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages