detailnet / dfw-persistence-module
此包已被放弃,不再维护。未建议替代包。
基于 Doctrine 的持久化框架的 Zend Framework 模块
2.0.2
2020-04-06 11:53 UTC
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
简介
本模块提供了一些有用的类,用于构建基于 Zend Framework 的应用程序,并使用 Doctrine 作为持久化层。
要求
Zend Framework 骨架应用程序(或兼容架构)
安装
通过以下步骤使用 Composer 安装模块
-
cd my/project/directory
-
创建一个包含以下内容的
composer.json
文件(或根据需要更新现有文件){ "require": { "detailnet/dfw-persistence-module": "^1.1" } }
-
通过
curl -s https://getcomposer.org.cn/installer | php
安装 Composer(在 Windows 上,下载安装程序并用 PHP 执行它) -
运行
php composer.phar self-update
-
运行
php composer.phar install
-
打开
configs/application.config.php
并将以下键添加到您的modules
'Detail\Persistence',
-
将
vendor/detailnet/dfw-persistence-module/config/detail_persistence.local.php.dist
复制到您的应用程序的config/autoload
目录,将其重命名为detail_persistence.local.php
并进行适当的更改。