structurizr-php/extensions-php

Structurizr for PHP extensions

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

This package is auto-updated.

Last update: 2024-12-11 20:22:54 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);