PHPackages                             consensus/php-d2 - 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. consensus/php-d2

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

consensus/php-d2
================

Provides a PHP wrapper around the D2 binary from Terrastruct.

1.0.1(3mo ago)0155GPL-3.0-or-later

Since Feb 4Compare

[ Source](https://gitlab.com/consensus.enterprises/misc/php-d2)[ Packagist](https://packagist.org/packages/consensus/php-d2)[ Docs](https://d2lang.com)[ RSS](/packages/consensus-php-d2/feed)WikiDiscussions Synced 1mo ago

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://gitlab.com/consensus.enterprises/misc/php-d2).

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance80

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

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 ~0 days

Total

2

Last Release

103d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/d9f8cbdb73bffa23bab80418003b2b4ed5aa830cdbe5fff875bbc009b2c5bc16?d=identicon)[star-szr](/maintainers/star-szr)

---

Tags

diagramd2

### Embed Badge

![Health badge](/badges/consensus-php-d2/health.svg)

```
[![Health](https://phpackages.com/badges/consensus-php-d2/health.svg)](https://phpackages.com/packages/consensus-php-d2)
```

###  Alternatives

[jbzoo/composer-graph

Render composer.json + composer.lock dependencies graph

66741.6k2](/packages/jbzoo-composer-graph)[jawira/plantuml

Provides PlantUML executable and plantuml.jar

21362.3k7](/packages/jawira-plantuml)[onmotion/yii2-widget-apexcharts

Yii2 charts widget - wrapper for the ApexCharts.js

1957.6k1](/packages/onmotion-yii2-widget-apexcharts)[icehouse-ventures/laravel-mermaid

Simple package to generate diagrams in Laravel using the Mermaid.js library

2630.0k](/packages/icehouse-ventures-laravel-mermaid)[sbodak/magento2-checkout-custom-form

Add a custom form to Magento 2 checkout on the shipping step.

993.5k](/packages/sbodak-magento2-checkout-custom-form)

PHPackages © 2026

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