janalis/doctrineviz
Composer 安装命令:
composer require janalis/doctrineviz
包简介
Render a graphical representation of a Doctrine2 mapped database
README 文档
README
Render a graphical representation of a Doctrine2 mapped database.
Example
Installation
Require package through composer:
$ composer require --dev janalis/doctrineviz
Then, enable the bundle by adding the following line in the app/AppKernel.php file of your project:
// app/AppKernel.php class AppKernel extends Kernel { public function registerBundles() { //... if (in_array($this->getEnvironment(), ['dev', 'test'])) { // ... // Because the vendor code could be not present, you should check if the bundle is here before using it. new Janalis\Doctrineviz\DoctrinevizBundle(), } // ... } // ... }
In order to be able to use the graph drawing feature you'll have to install GraphViz (dot executable).
Mac OS
$ brew install graphviz
Ubuntu
$ sudo apt install -y graphviz
Windows
Windows users may download GraphViZ for Windows.
Usage
Into your symfony project:
$ php app/console doctrine:generate:viz --help
Credits
统计信息
- 总下载量: 79
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-01-21
