Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 558 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 558 Bytes

Structurizr for PHP extensions

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);