PHPackages                             zamoroka/magento-dependency-graph - 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. zamoroka/magento-dependency-graph

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

zamoroka/magento-dependency-graph
=================================

Generate dependency graph for Magento modules

1.1.0(5y ago)433Apache-2.0PHP

Since Oct 14Pushed 3y ago3 watchersCompare

[ Source](https://github.com/zamoroka/magento-dependency-graph)[ Packagist](https://packagist.org/packages/zamoroka/magento-dependency-graph)[ RSS](/packages/zamoroka-magento-dependency-graph/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

Generate dependency graph for Magento modules
=============================================

[](#generate-dependency-graph-for-magento-modules)

install
-------

[](#install)

- `composer create-project zamoroka/magento-dependency-graph`
- get graphviz:
    - MacOS: `brew install graphviz`
    - Ubuntu: `sudo apt install graphviz`
- install [OmnigGaffle](https://www.omnigroup.com/omnigraffle/) to view and edit .dot files (optional)

usage
-----

[](#usage)

- `cd magento-dependency-graph`
- `sh getDependencyGraph.sh "path-to-the-magento-2-folder" "ModuleVendor"` to generate `.dot`, `.pdf` and `.svg` files.
- view files in "export" folder

example of generated dependency graph
-------------------------------------

[](#example-of-generated-dependency-graph)

[![example](https://github.com/zamoroka/magento-dependency-graph/raw/master/example.svg?raw=true)](https://github.com/zamoroka/magento-dependency-graph/blob/master/example.svg?raw=true)

#### legend

[](#legend)

- [![](https://camo.githubusercontent.com/b0a338a7d86605ec29bc6943d8b5233319da9499e513b3eedbf858717668bf50/68747470733a2f2f7669612e706c616365686f6c6465722e636f6d2f31352f6666613530303f746578743d2b)](https://camo.githubusercontent.com/b0a338a7d86605ec29bc6943d8b5233319da9499e513b3eedbf858717668bf50/68747470733a2f2f7669612e706c616365686f6c6465722e636f6d2f31352f6666613530303f746578743d2b) orange **text** - module is in app/code directory
- [![](https://camo.githubusercontent.com/26758c392f6e6c5c398cad0e23dc846c95a0b14c75275f4385200de061488f9a/68747470733a2f2f7669612e706c616365686f6c6465722e636f6d2f31352f3030464630303f746578743d2b)](https://camo.githubusercontent.com/26758c392f6e6c5c398cad0e23dc846c95a0b14c75275f4385200de061488f9a/68747470733a2f2f7669612e706c616365686f6c6465722e636f6d2f31352f3030464630303f746578743d2b) green **text** - module is in vendor directory
- [![](https://camo.githubusercontent.com/0f38e391a9c7c3a68b1e8a9077eabf3535223442522d04d8296895d1ec388bf2/68747470733a2f2f7669612e706c616365686f6c6465722e636f6d2f31352f6666303030303f746578743d2b)](https://camo.githubusercontent.com/0f38e391a9c7c3a68b1e8a9077eabf3535223442522d04d8296895d1ec388bf2/68747470733a2f2f7669612e706c616365686f6c6465722e636f6d2f31352f6666303030303f746578743d2b) red **text** - module is not exists
- [![](https://camo.githubusercontent.com/8f6816f96f62b1427c1378eab26cf48b49fa4c683971af9336c9b5d605e02d55/68747470733a2f2f7669612e706c616365686f6c6465722e636f6d2f31352f3135383946303f746578743d2b)](https://camo.githubusercontent.com/8f6816f96f62b1427c1378eab26cf48b49fa4c683971af9336c9b5d605e02d55/68747470733a2f2f7669612e706c616365686f6c6465722e636f6d2f31352f3135383946303f746578743d2b) blue **block** - module is independent
- [![](https://camo.githubusercontent.com/0f38e391a9c7c3a68b1e8a9077eabf3535223442522d04d8296895d1ec388bf2/68747470733a2f2f7669612e706c616365686f6c6465722e636f6d2f31352f6666303030303f746578743d2b)](https://camo.githubusercontent.com/0f38e391a9c7c3a68b1e8a9077eabf3535223442522d04d8296895d1ec388bf2/68747470733a2f2f7669612e706c616365686f6c6465722e636f6d2f31352f6666303030303f746578743d2b) red **arrow** - two modules are dependent on each other

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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

Every ~59 days

Total

3

Last Release

1919d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c37855f66e74dbc07cd43a2aaae7218a10649feb8b7a4da1d9c9eda4940ada7d?d=identicon)[zamoroka](/maintainers/zamoroka)

---

Top Contributors

[![zamoroka](https://avatars.githubusercontent.com/u/9164112?v=4)](https://github.com/zamoroka "zamoroka (19 commits)")

---

Tags

dependency-graphgraphvizgraphviz-dotmagentomagento2

### Embed Badge

![Health badge](/badges/zamoroka-magento-dependency-graph/health.svg)

```
[![Health](https://phpackages.com/badges/zamoroka-magento-dependency-graph/health.svg)](https://phpackages.com/packages/zamoroka-magento-dependency-graph)
```

###  Alternatives

[roave/backward-compatibility-check

Tool to compare two revisions of a public API to check for BC breaks

5953.3M56](/packages/roave-backward-compatibility-check)[spatie/typescript-transformer

This is my package typescript-transformer

3706.5M16](/packages/spatie-typescript-transformer)[mateffy/laravel-introspect

Analyze Laravel codebases and find structured information about models, routes and other Laravel-specific things.

1698.7k2](/packages/mateffy-laravel-introspect)[wyrihaximus/list-classes-in-directory

Allows you to list full qualified class names in directories and files.

23304.8k7](/packages/wyrihaximus-list-classes-in-directory)[bartlett/umlwriter

Create UML class diagrams from your PHP source.

6313.0k1](/packages/bartlett-umlwriter)[setasign/php-stub-generator

A tool to generate stub-files for your php classes.

302.1k1](/packages/setasign-php-stub-generator)

PHPackages © 2026

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