定制 swissengine/doctrine-module-extension 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

swissengine/doctrine-module-extension

Composer 安装命令:

composer require swissengine/doctrine-module-extension

包简介

Extension of Doctrine CLI tools

README 文档

README

This small module aims at providing a simple way to add a few features (seamlessly) to the doctrine CLI tool (ZF2) such as the ability to specify the entity manager we want to use optionally.

php public/index.php orm:validate-schema --em=orm_custom

Installation

Suggested installation method is through composer:

php composer.phar require swissengine/doctrine-module-extension:dev-master

Setup

If you use Zend Framework 2, you can now enable this module in your application by adding it to config/application.config.php as SwissEngine\Tools\Doctrine\Extension.

Just make sure, in order for this to work, you have your doctrine factories set in your config file.

[
    'service_manager' => [
        'factories' => [
            'doctrine.entitymanager.orm_custom' => new \DoctrineORMModule\Service\EntityManagerFactory('orm_custom'),
        ],
    ]
];

统计信息

  • 总下载量: 419.22k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 3
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 3
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固