Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Zend Framework Module for Doctrine based persistence.

License

Notifications You must be signed in to change notification settings

detailnet/dfw-persistence-module

Repository files navigation

Zend Framework Module for Doctrine based persistence

Build Status Coverage Status Latest Stable Version Latest Unstable Version

Introduction

This module provides useful classes for building a Zend Framework application with a persistance layer based on Doctrine.

Requirements

Zend Framework Skeleton Application (or compatible architecture)

Installation

Install the module through Composer using the following steps:

  1. cd my/project/directory

  2. Create a composer.json file with following contents (or update your existing file accordingly):

    {
        "require": {
            "detailnet/dfw-persistence-module": "^1.1"
        }
    }
  3. Install Composer via curl -s http://getcomposer.org/installer | php (on Windows, download the installer and execute it with PHP)

  4. Run php composer.phar self-update

  5. Run php composer.phar install

  6. Open configs/application.config.php and add following key to your modules:

    'Detail\Persistence',
  7. Copy vendor/detailnet/dfw-persistence-module/config/detail_persistence.local.php.dist into your application's config/autoload directory, rename it to detail_persistence.local.php and make the appropriate changes.