nicotec/doctrineauto-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

nicotec/doctrineauto-bundle

Composer 安装命令:

composer require nicotec/doctrineauto-bundle

包简介

Generator Entity Doctrine for Mysql - doctrine reverse engineer auto

README 文档

README

Generateur automatique des entités à partir de mysql pour doctrine2

Prise en charge:

  • GedmoDoctrineExtension > stof.
  • User and Role.

Installation

  1. Use Composer to download the library
php composer.phar require nicotec/doctrineauto-bundle
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        if (in_array($this->getEnvironment(), array('dev', 'test'))) {
            $bundles[] = new Nicotec\DoctrineautoBundle\NicotecDoctrineautoBundle();
        }
        // ...
    );
}
// app/config/routing_dev.yml
nicotec_doctrineauto:
    resource: "@NicotecDoctrineautoBundle/Controller/"
    type:     annotation
    prefix:   /doctrineauto
// app/config.yml
#exemple
parameters:
    generator:
        default_mapping: default
        mappings:
            default:
                bdd_namespace: Bo\AdminBundle
                security:
                    entity: Superuser
                    property: username
                superclass: 1
            config:
                bdd_namespace: Bo\SuperBundle
                security:
                    entity: User
                    property: username
                superclass: 1
                table_ignores:
#                    - user
#                    - role
            mail:
                bdd_namespace: Bo\MailerBundle
                superclass: 1

Utilisation

http://.../app_dev.php/doctrineauto

统计信息

  • 总下载量: 115
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-30