定制 stella-maris/architectural-decision-record 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

stella-maris/architectural-decision-record

最新稳定版本:1.0.0

Composer 安装命令:

composer require stella-maris/architectural-decision-record

包简介

An attribute to keep track of architectural design decisions

README 文档

README

An idea from Dmitri Goosens to capture architectural decissions in a format that can be automatically retrieved, analysed and - most importantly - be found again

Usage

After installation you can add an Adr-attribute wherever you want within your code to clearly document an architectural decision that lead to a code-creation or -change

<?php

use StellaMaris\ArchitecturalDecision\Record;

#[Record('
We decided to use Architectural Decision Records to better illustrate
why stuff was done.

There is no need to add a time or date or a name as that should already
be reflected within the VCS.

Record-entries can span multiple lines as they use strings 😁
')]
class Foo
{

}

Installation

This package is best installed via composer.

composer require stella-maris/architectural-decision-record

Tricks

The term ADR was deliberately not used in the package as that might lead to confusion with the Active Domain Responder pattern.

If you want to use that instead of Record though for the attribute, feel free to create a class alias like this:

<?php


use StellaMaris\ArchitecturalDecision\Record as ADR;

#[ADR('
We decided to use Architectural Decision Records to better illustrate
why stuff was done.

There is no need to add a time or date or a name as that should already
be reflected within the VCS.

Record-entries can span multiple lines as they use strings 😁
')]
class Foo
{

}

统计信息

  • 总下载量: 1.4k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-07-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固