PHPackages                             mylen/graphviz - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mylen/graphviz

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mylen/graphviz
==============

Graphviz generation for PHP

0.1.0(13y ago)0236MITPHPPHP &gt;=5.3.0

Since Dec 16Pushed 13y agoCompare

[ Source](https://github.com/mylen/graphviz)[ Packagist](https://packagist.org/packages/mylen/graphviz)[ Docs](http://github.com/mylen/graphviz)[ RSS](/packages/mylen-graphviz/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Alom Graphviz - Graphviz generation for PHP
===========================================

[](#alom-graphviz---graphviz-generation-for-php)

[![Build Status](https://camo.githubusercontent.com/f3406207e8dad2de318c34339cd6f3d02e306193109c777518062022cc1800e2/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f616c6578616e64726573616c6f6d652f677261706876697a2e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/alexandresalome/graphviz)

Usage
-----

[](#usage)

This library allow you to create Dot Graph with a PHP fluid interface:

```
$graph = new Alom\Graphviz\Digraph('G');
$graph
    ->subgraph('cluster_1')
        ->attr('node', array('style' => 'filled', 'fillcolor' => 'blue'))
        ->node('A')
        ->node('B')
        ->edge(array('b0', 'b1', 'b2', 'b3'))
    ->end()
    ->edge(array('A', 'B', 'C'))
;
echo $graph->render();
```

Requirements
------------

[](#requirements)

- PHP 5.3
- \[optional\] PHPUnit 3.5+ to execute test suite

Author
------

[](#author)

Alexandre Salomé -  -

License
-------

[](#license)

Alom Graphviz is licensed under the MIT License - see the `LICENSE` file for details

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

4901d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/622b144a1dc8b64bb3992fc6bff4f02ce9e069b2bcf70acf04b009108dfd1c08?d=identicon)[amelard](/maintainers/amelard)

---

Top Contributors

[![petsagouris](https://avatars.githubusercontent.com/u/277956?v=4)](https://github.com/petsagouris "petsagouris (1 commits)")

---

Tags

dotgraphviz

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mylen-graphviz/health.svg)

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

###  Alternatives

[dflydev/dot-access-data

Given a deep data structure, access data by dot notation.

718359.1M86](/packages/dflydev-dot-access-data)[league/config

Define configuration arrays with strict schemas and access values with dot notation

564302.2M24](/packages/league-config)[graphp/graphviz

GraphViz graph drawing for the mathematical graph/network library GraPHP.

3232.1M49](/packages/graphp-graphviz)[alom/graphviz

Graphviz generation for PHP

74651.4k9](/packages/alom-graphviz)[innmind/object-graph

Extract object graph out of a root object

242.8k7](/packages/innmind-object-graph)[flow-php/array-dot

PHP ETL - Array Dot functions

14374.1k3](/packages/flow-php-array-dot)

PHPackages © 2026

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