This module provides useful classes for building a Zend Framework application with a persistance layer based on Doctrine.
Zend Framework Skeleton Application (or compatible architecture)
Install the module through Composer using the following steps:
-
cd my/project/directory
-
Create a
composer.json
file with following contents (or update your existing file accordingly):{ "require": { "detailnet/dfw-persistence-module": "^1.1" } }
-
Install Composer via
curl -s http://getcomposer.org/installer | php
(on Windows, download the installer and execute it with PHP) -
Run
php composer.phar self-update
-
Run
php composer.phar install
-
Open
configs/application.config.php
and add following key to yourmodules
:'Detail\Persistence',
-
Copy
vendor/detailnet/dfw-persistence-module/config/detail_persistence.local.php.dist
into your application'sconfig/autoload
directory, rename it todetail_persistence.local.php
and make the appropriate changes.