mleczakm/pulpo18bundle

Pulpo18 包

安装: 14

依赖: 0

建议者: 0

安全性: 0

星标: 1

关注者: 2

分支: 0

开放问题: 0

类型:symfony-bundle

dev-master 2017-04-27 20:33 UTC

This package is auto-updated.

Last update: 2024-09-23 09:41:25 UTC


README

SensioLabsInsight Build Status

Pulpo18Bundle

Symfony Bundle,用于使用免费的 Pulpo 18 库 创建漂亮的架构图像。

安装

1) 下载

composer require --dev mleczakm/pulpo18bundle

2) 启用 Bundle

// app/AppKernel.php

if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
    // ...
    $bundles[] = new mleczakm\Pulpo18Bundle();
}

用法

生成架构图像

运行命令

 php bin/console pulpo -import-project src/AppBundle -orm Doctrine2 -export-image output.png

从 AppBundle 使用 Doctrine2 (也支持 PropelDoctrine)生成架构图像,输出到应用主目录下的 output.png

已知限制

  • 仅在 Linux x64 机器上工作
  • 需要 Qt 平台插件 "xcb"