vasildakov / expressive-doctrine-orm
Doctrine for Zend-Expressive
0.1
2016-05-04 12:59 UTC
Requires
- php: ^5.6 || ^7.0
- container-interop/container-interop: ^1.1
- doctrine/orm: ^2.5
- zendframework/zend-servicemanager: ^3.0
- zendframework/zend-stdlib: ^3.0
Requires (Dev)
- phpunit/phpunit: ^5.3
- satooshi/php-coveralls: ^1.0
- squizlabs/php_codesniffer: ^2.6
This package is not auto-updated.
Last update: 2024-12-16 13:52:28 UTC
README
Installation
Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.
composer require vasildakov/expressive-doctrine-orm
Entities settings
Connection settings
<?php return [ 'doctrine' => [ 'connection' => [ // default connection 'orm_default' => [ 'driverClass' => Doctrine\DBAL\Driver\PDOMySql\Driver::class, 'params' => [ 'driver' => 'pdo_mysql', 'host' => '127.0.0.1', 'port' => '3306', 'dbname' => 'database', 'user' => 'username', 'password' => 'password', 'charset' => 'UTF8', ], ], ], ], ];