detailnet / dfw-persistence-module
Zend Framework Module for Doctrine based persistence
Requires
- php: ^7.1
- zendframework/zend-modulemanager: ^2.7.2
- zendframework/zend-mvc: ^3.0.1
- zendframework/zend-servicemanager: ^3.1
- zendframework/zend-stdlib: ^3.0.1
Requires (Dev)
- ext-mongo: *
- detailnet/dfw-commanding: ^1.1
- detailnet/dfw-filtering: ^1.0
- doctrine/doctrine-module: ^2.1
- doctrine/mongodb-odm: ^1.1
- doctrine/orm: ^2.5
- doctrine/persistence: ^1.3
- phpmd/phpmd: ^2.2
- phpunit/phpunit: ^7.0
- ramsey/uuid: ^3.4
- ramsey/uuid-doctrine: ^1.2
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: ^3.2
- zendframework/zend-paginator: ^2.7
Suggests
- alcaeus/mongo-php-adapter: For usage of the Doctrine ODM based repository (until doctrine/mongodb-odm is ported to ext-mongodb)
- detailnet/dfw-commanding: For usage of the Doctrine ORM/ODM based repositories
- detailnet/dfw-filtering: For usage of the Doctrine ORM/ODM based repositories
- doctrine/doctrine-module: For usage of the Doctrine/Zend Cache bridge
- doctrine/doctrine-mongo-odm-module: For usage of the Doctrine ODM based repository
- doctrine/doctrine-orm-module: For usage of the Doctrine ORM based repository
- doctrine/persistence: For usage of the Doctrine ORM and/or ODM based repository
- ramsey/uuid: For usage of the Doctrine ODM "uuid" mapping type
- ramsey/uuid-doctrine: For usage of the Doctrine ORM "uuid" mapping type
- zendframework/zend-paginator: For usage of the Doctrine ORM/ODM based repositories
Provides
- ext-mongo: *
- dev-master
- 2.0.2
- 2.0.0
- 1.1.0
- 1.0.2
- 1.0.1
- 1.0.0
- 0.4.0
- 0.3.0
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.13
- 0.1.12
- 0.1.11
- 0.1.10
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-2.x-dev
- dev-tweak/upgrade-to-mongodb-odm-2
- dev-feature/traversable-hash-type
- dev-fetaure/14/join-many-to-one-for-filtering
- dev-0.x-dev
- dev-backport-zf2/in-operator-with-null-in-array-values
- dev-feature/caching-and-profiling
This package is auto-updated.
Last update: 2021-05-31 13:16:09 UTC
README
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:
-
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.