Skip to content

davidwindell/DoctrineModule

 
 

Repository files navigation

DoctrineModule for Zend Framework 2 Master Branch Build Status

DoctrineModule provides basic functionality consumed by DoctrineORMModule (if you want to use Doctrine ORM) and DoctrineMongoODMModule (if you want to use MongoDB ODM)

Documentation

Please check the docs dir for more detailed documentation on the features provided by this module.

Installation

Installation of DoctrineModule uses composer. For composer documentation, please refer to getcomposer.org.

  1. cd my/project/directory

  2. create or modify the composer.json file within your ZF2 application file with following contents:

    {
        "minimum-stability": "dev",
        "require": {
            "doctrine/doctrine-module": "dev-master"
        }
    }
  3. install composer via curl -s https://getcomposer.org/installer | php (on windows, download https://getcomposer.org/installer and execute it with PHP). Then run php composer.phar install

  4. open my/project/directory/configs/application.config.php and add the following key to your modules:

    'DoctrineModule',

##Installation (without composer)

  1. clone this repository to vendor/DoctrineModule in your ZF2 application

  2. The module depends on various packages that you have to install and autoload in order to get it to work. Check the require section of the composer.json file to see what these requirements are.

  3. open my/project/directory/configs/application.config.php and add the following key to your modules:

    'DoctrineModule',

About

Zend Framework 2 Module for Doctrine

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.9%
  • Shell 0.1%