定制 tbn/doctrinerelationvisualizer-bundle 二次开发

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

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

tbn/doctrinerelationvisualizer-bundle

最新稳定版本:2.1.0

Composer 安装命令:

composer require tbn/doctrinerelationvisualizer-bundle

包简介

Visualize the entity relation of doctrine entities

README 文档

README

This bundle allows to visualize the relation between doctrine entities.

The diagram is always in sync with the application entities.

Installation

composer require --dev "tbn/doctrinerelationvisualizer-bundle"

Publish assets

php app/console assets:install

Enable the bundle in the AppKernel for the dev environment

Add the bundle to config/bundles.php

return [
    ...
    tbn\DoctrineRelationVisualizerBundle\DoctrineRelationVisualizerBundle::class => ['dev' => true],
    ...
];

Add routing

Add the file config/routes/dev/visualizer.yaml

tbn_doctrine_relation_visualizer:
    resource: "@DoctrineRelationVisualizerBundle/Resources/config/routing.yml"

Customize bundle (optionnal)

Add the file config/packages/dev/doctrine_relation_visualizer.yaml

doctrine_relation_visualizer:
    position_filepath: '%kernel.project_dir%/config'
    display_columns: true
    area_width: 4000
    area_height: 3000

Usage

Go to the url:

http://your_app/_visualizer

Sort your entities to have a correct diagram

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 3
  • 开发语言: JavaScript

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-08-04