zf2-boiler-app / app-db
ZF2 BoilerApp Database module
dev-master / 1.0.x-dev
2013-10-07 17:22 UTC
Requires
- php: >=5.4
- ext-pdo_mysql: *
- doctrine/doctrine-orm-module: dev-master
- zendframework/zendframework: dev-master
Requires (Dev)
- zf2-boiler-app/app-test: dev-master
This package is auto-updated.
Last update: 2024-10-24 04:02:43 UTC
README
NOTE : This module is in heavy development, it's not usable yet. If you want to contribute don't hesitate, I'll review any PR.
Introduction
ZF2 BoilerApp "Database" module is a Zend Framework 2 module that provides database core of ZF2 Boiler-App
Requirements
- Zend Framework 2 (latest master)
- Doctrine 2 ORM Module (latest master)
Installation
Main Setup
By cloning project
- Clone this project into your
./vendor/
directory.
With composer
-
Add this project in your composer.json:
"require": { "zf2-boiler-app/app-db": "1.0.*" }
-
Now tell composer to download ZF2 BoilerApp "Database" module by running the command:
$ php composer.phar update
Post installation
-
Enabling BoilerAppDb and Doctrine modules in your
application.config.php
file.return array( 'modules' => array( // ... 'DoctrineModule', 'DoctrineORMModule', 'BoilerAppDb', ), // ... );
-
Allowing Mysqli reconnexion in php.ini
mysqli.reconnect = On
Features
Doctrine
Commons
- Repositories abstract factory
- Support entity's date of create and update
DBAL types
- Md5 hash
- Enum