Download the PHP package nepoh/doctrine-yuml-bundle without Composer

On this page you can find all versions of the php package nepoh/doctrine-yuml-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package doctrine-yuml-bundle

doctrine-yuml-bundle

Build Status Scrutinizer Code Quality Code Coverage Build Status License Latest Stable Version Total Downloads Monthly Downloads Daily Downloads

Bundle to visualise doctrine entities graph with yuml in Symfony4

This bundle is based on Marco Pivetta's work for zend doctrine ORM Module and zend developper tools

It uses the yuml.me api to display your project's objects mapping.

Installation

Symfony 4

Run the composer require onurb/doctrine-yuml-bundle command in your console

Adjust your parameters to personalize the render in config/packages/dev/yuml.yaml, or use annotations as describe bellow

Adjust the route (if you want to add a prefix) in config/routes/dev/yuml.yaml

Symfony 3

symfony 3 is not supported since 1.1.6, if you didn't migrate to SF4 yet, use version 1.1.5

configure access to the yuml route (if you use security of course)

Use

Click on Doctrine icon added in the dev toolbar.

Run the yuml:mappings console command to save the image locally.

Personalize the render

Full personalisation for mapping rendering, defining parameters or using Metadatagrapher annotations Colored Map with note

define the output file extension

Use the parameter file :

Extensions allowed : jpg, png (default), svg, pdf, or json

define the yuml rendering style

Use the parameter file :

Styles allowed : plain (default), boring or scruffy

define the graph direction

Use the parameter file :

Directions allowed : LR (left to Right), RL (Right to Left), TB (Top to bottom => default).

define the graph scale

Use the parameter file :

Scales allowed : huge, big, normal (default), small or tiny.

Hide entities attributes properties (unique, type, length, ...)

Use the parameter file :

this parameter is set to true by default since v1.1

Warning : In Symfony 3, don't forget to also define parameter keys in parameters.yml.dist to avoid symfony update

to clear your parameters

Toggle attributes properties on a specific class using annotations

to show only desired classes details if global parameter is set to false :

And, if set to true (default), you can hide properties for a specific class :

Define colors for entities rendering

Define default color for a complete bundle or namespace by defining it in parameters.yml

You can also define colors for classes this way... but it is easier using annotations as described next

Complete list of yuml colors availables here Color list

Define Entity color in graph using annotations

Display specific entity method

You can display specific methods in the graph, using annotations

Hide columns

Hide all columns of the entity

If you want, you can hide Entity attributes with annotations : using annotation on the class :

Hide specific column

Or hide a specific secret column you want to hide, using annotation on the Entity column : (it could be usefull to hide you credential logic, or to avoid the display recurrent fields, like created_at, or updated_at in the graph...)

Add notes to comment entities in the graph

use annotations :

Notes are yellow by default, but you can customize note's' color


All versions of doctrine-yuml-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.3
doctrine/annotations Version 1.*
doctrine/common Version ~2.0
doctrine/orm Version ~2.0
onurb/doctrine-metadata-grapher Version ~1.0
symfony/config Version ~4.2
symfony/console Version ~3.0|~4.0
symfony/dependency-injection Version ~3.0|~4.0
symfony/framework-bundle Version ~3.0|~4.0
symfony/http-foundation Version ~3.0|~4.0
symfony/http-kernel Version ~3.0|~4.0
symfony/profiler-pack Version ~1.0
symfony/routing Version ~3.0|~4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nepoh/doctrine-yuml-bundle contains the following files

Loading the files please wait ....