PHPackages                             struturizr-php/structurizr-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. struturizr-php/structurizr-php

Abandoned → [structurizr-php/structurizr-php](/?search=structurizr-php%2Fstructurizr-php)Library[Utility &amp; Helpers](/categories/utility)

struturizr-php/structurizr-php
==============================

Structurizr for PHP

0.4.0(2y ago)17197114[9 issues](https://github.com/structurizr-php/structurizr-php/issues)[6 PRs](https://github.com/structurizr-php/structurizr-php/pulls)MITPHPPHP ^7.3 || ^8.0CI passing

Since Apr 22Pushed 1y ago4 watchersCompare

[ Source](https://github.com/structurizr-php/structurizr-php)[ Packagist](https://packagist.org/packages/struturizr-php/structurizr-php)[ GitHub Sponsors](https://github.com/norberttech)[ RSS](/packages/struturizr-php-structurizr-php/feed)WikiDiscussions 1.x Synced 6d ago

READMEChangelog (4)Dependencies (15)Versions (11)Used By (0)

Structurizr for PHP
===================

[](#structurizr-for-php)

[![Minimum PHP Version](https://camo.githubusercontent.com/183804d09fec16ca7b6209b007250b7d8db1b915042feb093a9f20e6e1f25359/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e312d3838393242462e737667)](https://php.net/)[![Latest Stable Version](https://camo.githubusercontent.com/9bce1f4ab039682cf1f1c78de76bc356c73b3c64d7e9e0f898534b539e57297a/68747470733a2f2f706f7365722e707567782e6f72672f7374727563747572697a722d7068702f7374727563747572697a722d7068702f76657273696f6e)](https://packagist.org/packages/structurizr-php/structurizr-php)[![Tests](https://github.com/structurizr-php/structurizr-php/actions/workflows/test.yml/badge.svg?branch=1.x)](https://github.com/structurizr-php/structurizr-php/actions/workflows/test.yml)[![Total Downloads](https://camo.githubusercontent.com/550cd3912fa2d7deff6349908362d404f5ac407a85bb740a0f56bc8e9a9941e2/68747470733a2f2f706f7365722e707567782e6f72672f7374727563747572697a722d7068702f7374727563747572697a722d7068702f646f776e6c6f616473)](https://packagist.org/packages/structurizr-php/structurizr-php)[![License](https://camo.githubusercontent.com/ecc7adda3d64c2e86bd085357e5f190110c0fc0005c013817dc98f3b8d8b99e9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7374727563747572697a722d7068702f7374727563747572697a722d706870)](https://camo.githubusercontent.com/ecc7adda3d64c2e86bd085357e5f190110c0fc0005c013817dc98f3b8d8b99e9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7374727563747572697a722d7068702f7374727563747572697a722d706870)

This repository is a port of [Structurizr for Java](https://github.com/structurizr/java). All credits for creating [C4](https://c4model.com/) goes of course to [Simon Brown](https://github.com/simonbrowndotje)this library is nothing more that simple port of the code that already exists in other language.

How to Use
==========

[](#how-to-use)

### Installation

[](#installation)

```
composer require structurizr-php/structurizr-php

```

### A quick example

[](#a-quick-example)

As an example, the following PHP code can be used to create a software architecture **model** and an associated **view**that describes a user using a software system.

```
