structurizr-php/extensions-php

Structurizr for PHP extensions

dev-master 2019-12-11 09:19 UTC

This package is auto-updated.

Last update: 2024-04-11 18:44:18 UTC


README

Adr Importer

Import Decisions to into your model documentation directly from ADR files. Example:

<?php
use StructurizrPHP\AdrTools\AdrToolsImporter;
use StructurizrPHP\Core\Workspace;

$workspace = new Workspace('1', 'Test Workspace', 'Just a test workspace');
$softwareSystem = $workspace->getModel()->addSoftwareSystem('Software System', 'Some kind of a system');

$importer = new AdrToolsImporter($workspace, __DIR__ . '/Resources/adr');
$importer->importArchitectureDecisionRecords($softwareSystem);