PHPackages                             janalis/doctrineviz - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. janalis/doctrineviz

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

janalis/doctrineviz
===================

Render a graphical representation of a Doctrine2 mapped database

v0.3.1(8y ago)4791[1 PRs](https://github.com/janalis/doctrineviz/pulls)BSD-3-ClausePHPPHP &gt;=7.1

Since Jan 21Pushed 2y ago2 watchersCompare

[ Source](https://github.com/janalis/doctrineviz)[ Packagist](https://packagist.org/packages/janalis/doctrineviz)[ RSS](/packages/janalis-doctrineviz/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (8)Versions (14)Used By (0)

doctrineviz
===========

[](#doctrineviz)

[![Build Status](https://camo.githubusercontent.com/c0d2872158e834870d71202fd32ec244d5fde19e18f988660b4ccd9394b5389c/68747470733a2f2f7472617669732d63692e6f72672f6a616e616c69732f646f637472696e6576697a2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/janalis/doctrineviz)[![Coverage Status](https://camo.githubusercontent.com/e25ba9683e8cf15f60c5033826a9322d66842ca0760a7b02887445589d147acd/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6a616e616c69732f646f637472696e6576697a2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/janalis/doctrineviz?branch=master)[![SensioLabs Insight](https://camo.githubusercontent.com/55793a8c43d55103eeac59906f41894733f9e782f297d26a4eb321e6645e08a1/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f64633639663365312d303630642d346163382d396662322d3934636564323539393266322e737667)](https://insight.sensiolabs.com/projects/dc69f3e1-060d-4ac8-9fb2-94ced25992f2)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/8bec28fddc4de0bc31477bbc2f9ed49d8e4a483f86b7040ac8b2115a71db41ed/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a616e616c69732f646f637472696e6576697a2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/janalis/doctrineviz/?branch=master)[![Style CI](https://camo.githubusercontent.com/63ea60b46ec05dc1667eef663ea407caf640626a0bb08e98b91541c94db9276b/68747470733a2f2f7374796c6563692e696f2f7265706f732f37393634393535332f736869656c643f7374796c653d666c6174)](https://styleci.io/repos/79649553)

Render a graphical representation of a Doctrine2 mapped database.

Example
-------

[](#example)

[![Example](example.png)](example.png)

Installation
------------

[](#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

[](#mac-os)

```
$ brew install graphviz
```

### Ubuntu

[](#ubuntu)

```
$ sudo apt install -y graphviz
```

### Windows

[](#windows)

Windows users may [download GraphViZ for Windows](http://www.graphviz.org/Download_windows.php).

Usage
-----

[](#usage)

Into your symfony project:

```
$ php app/console doctrine:generate:viz --help
```

Credits
-------

[](#credits)

- [globalcitizen/mysqlviz](https://github.com/globalcitizen/mysqlviz)
- [graphp/graphviz](https://github.com/graphp/graphviz)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~28 days

Recently: every ~64 days

Total

12

Last Release

3134d ago

PHP version history (2 changes)v0.0.1PHP &gt;=5.6

v0.3.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/1b023ac33f51d4b598739516cfeeae103c2fa5a8a2267fd65a195664ba446753?d=identicon)[phcorp](/maintainers/phcorp)

---

Top Contributors

[![phcorp](https://avatars.githubusercontent.com/u/725023?v=4)](https://github.com/phcorp "phcorp (46 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

doctrineentity-relationshipgraphvizsymfony-bundle

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/janalis-doctrineviz/health.svg)

```
[![Health](https://phpackages.com/badges/janalis-doctrineviz/health.svg)](https://phpackages.com/packages/janalis-doctrineviz)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
