PHPackages                             digitalkaoz/yuml-php - 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. digitalkaoz/yuml-php

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

digitalkaoz/yuml-php
====================

a PHP Adapter for http://yuml.me

1.0.2(11y ago)321.0k4[4 issues](https://github.com/digitalkaoz/yuml-php/issues)MITPHP

Since Feb 18Pushed 10y ago3 watchersCompare

[ Source](https://github.com/digitalkaoz/yuml-php)[ Packagist](https://packagist.org/packages/digitalkaoz/yuml-php)[ Docs](https://github.com/digitalkaoz/yuml-php)[ RSS](/packages/digitalkaoz-yuml-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (5)Versions (13)Used By (0)

YumlPhp
=======

[](#yumlphp)

a `php adapater` for

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/dd2268ac20646d668c2703add287b22fe64eda6f4a0c636113379d2609bfe151/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6469676974616c6b616f7a2f79756d6c2d7068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/digitalkaoz/yuml-php/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/05e7cf7ff2139be5205492bbe4776e407a38424d4ef192ebed3a2d95d00a5e7a/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f39643339313463322d303633362d346437632d613536302d6466656134313362616139332f6d696e692e706e67)](https://insight.sensiolabs.com/projects/09d510ab-7d2e-4ea2-8a94-2a37b9121603)[![Build status...](https://camo.githubusercontent.com/06690dce5a08b2f2c4055e61ed993716625be209a76b78dda6649685b3507ef6/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6469676974616c6b616f7a2f79756d6c2d7068702e706e67)](http://travis-ci.org/digitalkaoz/yuml-php)[![Code Coverage](https://camo.githubusercontent.com/30d73c2874eeb48a807e8d3905eb0f20eeee8d3635f23313403d2885b972a14e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6469676974616c6b616f7a2f79756d6c2d7068702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/digitalkaoz/yuml-php/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/afb89b91860612efc4483a5976a6702e43f7706b9a97dc96096d478aca943f1e/68747470733a2f2f706f7365722e707567782e6f72672f6469676974616c6b616f7a2f79756d6c2d7068702f76657273696f6e2e737667)](https://packagist.org/packages/digitalkaoz/yuml-php)[![Total Downloads](https://camo.githubusercontent.com/486b6ef0f3cc0b1d9cf7f71ec72cdac8b36b0b0bf744c786eec05f5c15ca53d3/68747470733a2f2f706f7365722e707567782e6f72672f6469676974616c6b616f7a2f79756d6c2d7068702f646f776e6c6f6164732e737667)](https://packagist.org/packages/digitalkaoz/yuml-php)[![License](https://camo.githubusercontent.com/aea7678b21c3187bd5ad28668072e69da1cb9676086e5f1b41b3566351a1d4ef/68747470733a2f2f706f7365722e707567782e6f72672f6469676974616c6b616f7a2f79756d6c2d7068702f6c6963656e73652e737667)](https://packagist.org/packages/digitalkaoz/yuml-php)[![StyleCI](https://camo.githubusercontent.com/647c505a5df6f27dc234421dcd67f5b0d95a2ce1f515bcac379ac68ee826569f/68747470733a2f2f7374796c6563692e696f2f7265706f732f333436333535392f736869656c64)](https://styleci.io/repos/3463559)

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

[](#installation)

Installation with [`composer`](https://github.com/composer/composer.git)
------------------------------------------------------------------------

[](#installation-with-composer)

```
"require" : {
    "digitalkaoz/yuml-php":  "@stable",
    "andrewsville/php-token-reflection":    "dev-develop@dev"
},
"repositories" : [
    {
        "type" : "vcs",
        "url" : "https://github.com/digitalkaoz/PHP-Token-Reflection"
    }
],
```

You need to add my custom PHP-Token-Reflection Fork, since it has some unmerged but needed improvements!

Installation with `PHAR`
------------------------

[](#installation-with-phar)

```
wget http://digitalkaoz.github.io/yuml-php/yuml-php.phar

```

Usage
-----

[](#usage)

### the `classes` command generates a class diagram from all classes in the given folder

[](#the-classes-command-generates-a-class-diagram-from-all-classes-in-the-given-folder)

```
Usage:
    classes [--console] [--debug] [--properties] [--methods] [--filter] folder

Arguments:
    folder      the folder to scan for classes

Options:
    --console     log to console
    --debug       debug
    --properties  build with properties
    --methods     build with methods
    --filter      to include/exclude files/folder

```

```
yuml-php classes src/
```

[![Class Diagram](https://camo.githubusercontent.com/8c123100c1d9e53e017fcae1de6f7eb23cc341741594d726817a53e2632771ce/687474703a2f2f6469676974616c6b616f7a2e6769746875622e696f2f79756d6c2d7068702f6578616d706c65732f636c61737365735f30312e706e67)](https://camo.githubusercontent.com/8c123100c1d9e53e017fcae1de6f7eb23cc341741594d726817a53e2632771ce/687474703a2f2f6469676974616c6b616f7a2e6769746875622e696f2f79756d6c2d7068702f6578616d706c65732f636c61737365735f30312e706e67)

### the `activity` command generates an activity diagram from a given file

[](#the-activity-command-generates-an-activity-diagram-from-a-given-file)

```
Usage:
    activity [--console] [--debug] file

Arguments:
    file          the file to read

Options:
    --console     log to console
    --debug       debug

```

```
yuml-php activity activities.txt
```

[![Activity Diagramm](https://camo.githubusercontent.com/58f7d7396227f5bef84df6d26b3b527ab4bd7de3c791dde65139b4e9550bc36d/687474703a2f2f6469676974616c6b616f7a2e6769746875622e696f2f79756d6c2d7068702f6578616d706c65732f61637469766974795f30312e706e67)](https://camo.githubusercontent.com/58f7d7396227f5bef84df6d26b3b527ab4bd7de3c791dde65139b4e9550bc36d/687474703a2f2f6469676974616c6b616f7a2e6769746875622e696f2f79756d6c2d7068702f6578616d706c65732f61637469766974795f30312e706e67)

### the `use-case` command generates a use-case diagram from a given file

[](#the-use-case-command-generates-a-use-case-diagram-from-a-given-file)

```
Usage:
    use-case [--console] [--debug] file

Arguments:
    file          the file to read

Options:
    --console     log to console
    --debug       debug

```

```
yuml-php use-case use-cases.txt
```

[![Use-Case Diagramm](https://camo.githubusercontent.com/dcfdf330ce1cd553e6da251da09be5aa0c363400550856c477f097ab4514c5d6/687474703a2f2f6469676974616c6b616f7a2e6769746875622e696f2f79756d6c2d7068702f6578616d706c65732f757365636173652d30312e706e67)](https://camo.githubusercontent.com/dcfdf330ce1cd553e6da251da09be5aa0c363400550856c477f097ab4514c5d6/687474703a2f2f6469676974616c6b616f7a2e6769746875622e696f2f79756d6c2d7068702f6578616d706c65732f757365636173652d30312e706e67)

Building the PHAR
-----------------

[](#building-the-phar)

```
php vendor/bin/box build

```

Tests
-----

[](#tests)

```
php bin/vendors.php
phpunit

```

TODO
----

[](#todo)

- more Features from [http://yuml.me](http://yuml.me/diagram/scruffy/class/samples) API

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 95.7% 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 ~77 days

Recently: every ~1 days

Total

12

Last Release

4347d ago

Major Versions

0.9.3 → 1.0.02014-06-12

### Community

Maintainers

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

---

Top Contributors

[![digitalkaoz](https://avatars.githubusercontent.com/u/293591?v=4)](https://github.com/digitalkaoz "digitalkaoz (66 commits)")[![EHER](https://avatars.githubusercontent.com/u/398034?v=4)](https://github.com/EHER "EHER (3 commits)")

### Embed Badge

![Health badge](/badges/digitalkaoz-yuml-php/health.svg)

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

###  Alternatives

[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[phel-lang/phel-lang

Phel is a functional programming language that compiles to PHP

4743.5k10](/packages/phel-lang-phel-lang)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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