"DiagramBundle" is a tool designed to facilitate the drawing of entities in a database and the relationships that connect them.
Add the benmacha/diagram-bundle
package to your require
section in the composer.json
file.
$ composer require benmacha/diagram-bundle ^1.0
Add the DiagramBundle in bundles.php:
<?php
return [
// ...
Benmacha\DiagramBundle\DiagramBundle::class => ['all' => true],
// ...
];
Configure the Bundle
in your routes.yml
:
benmacha_diagram:
resource: "@DiagramBundle/Resources/config/routing/routes.yml"
prefix: /diagram
Dump js and css file
$ php app/console assets:install --symlink