structurizr-php/extensions-php

Structurizr for PHP extensions

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

This package is auto-updated.

Last update: 2024-10-11 19:46:28 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);