PHPackages                             globtec/phpadr - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. globtec/phpadr

ActiveLibrary[CLI &amp; Console](/categories/cli)

globtec/phpadr
==============

A PHP based command-line interface tool for working with ADR

v2.0.2(4y ago)80216.0k↑86.9%15[3 issues](https://github.com/globtec/phpadr/issues)1MITPHPPHP &gt;=7.2.5CI failing

Since Feb 23Pushed 4y ago3 watchersCompare

[ Source](https://github.com/globtec/phpadr)[ Packagist](https://packagist.org/packages/globtec/phpadr)[ RSS](/packages/globtec-phpadr/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (5)Versions (6)Used By (1)

ADR Tools in PHP
================

[](#adr-tools-in-php)

[![Build Status](https://camo.githubusercontent.com/268910628bedb83932f7da1a6f50ae1d7a39bfbad1bebd4ef352d029fcc7bdc2/68747470733a2f2f7472617669732d63692e636f6d2f676c6f627465632f7068706164722e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/globtec/phpadr)[![Coverage Status](https://camo.githubusercontent.com/5ed115de60934e4de61374a35aea602613c73e9cd18545a13a607e84d0122037/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f676c6f627465632f7068706164722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/globtec/phpadr?branch=master)

A PHP based command-line interface tool for working with Architecture Decision Records (ADR).

About ADR
---------

[](#about-adr)

Architecture Decision Records (ADR) is a technique for capturing important architectural decisions, along with their context and consequences as described by [Michael Nygard](https://twitter.com/mtnygard) in his article: [Documenting Architecture Decisions](http://thinkrelevance.com/blog/2011/11/15/documenting-architecture-decisions).

Requirements
------------

[](#requirements)

- Requires PHP version 7.1.3 or newer
- Multibyte String extension

Installation
------------

[](#installation)

You can install this tool using the [Composer](https://getcomposer.org/), execute the following command.

```
composer require globtec/phpadr --dev

```

Usage
-----

[](#usage)

After of install this project you may execute the binary `phpadr` in your terminal:

```
./vendor/bin/phpadr

```

If to execute the command above, it will be showd a list of all avaliable tool commands.

By default the records will be stored in `docs/arch`, to change this workspace use the option `--config` with the path of the config file.

### Create a new ADR

[](#create-a-new-adr)

You may use the `make:decision` command:

```
./vendor/bin/phpadr make:decision  [] [--config="adr.yml"]

```

### Count the ADRs

[](#count-the-adrs)

You may use the `workspace:count` command:

```
./vendor/bin/phpadr workspace:count [--config="adr.yml"]

```

### List the ADRs

[](#list-the-adrs)

You may use the `workspace:list` command:

```
./vendor/bin/phpadr workspace:list [--config="adr.yml"]

```

### Help

[](#help)

For more help execute the following command:

```
./vendor/bin/phpadr  --help

```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity50

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 91.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~303 days

Total

5

Last Release

1793d ago

Major Versions

v1.0.1 → v2.0.02021-05-04

PHP version history (3 changes)v1.0.0PHP ^7.1.3

v2.0.1PHP ^7.2.5

v2.0.2PHP &gt;=7.2.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/40633dfa72016d359f8c8d330a091b48a9b3d42521a030e08448afb85bd4724f?d=identicon)[josecarlos](/maintainers/josecarlos)

---

Top Contributors

[![globtec](https://avatars.githubusercontent.com/u/4707535?v=4)](https://github.com/globtec "globtec (91 commits)")[![abachmann](https://avatars.githubusercontent.com/u/3432758?v=4)](https://github.com/abachmann "abachmann (6 commits)")[![hacfi](https://avatars.githubusercontent.com/u/428841?v=4)](https://github.com/hacfi "hacfi (1 commits)")[![tyx](https://avatars.githubusercontent.com/u/245494?v=4)](https://github.com/tyx "tyx (1 commits)")

---

Tags

adragilityarchitecture-decisionarchitecture-decision-recordsdocumentationdocumentationadragilityarchitecture-decision-recordsarchitecture-decision

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/globtec-phpadr/health.svg)

```
[![Health](https://phpackages.com/badges/globtec-phpadr/health.svg)](https://phpackages.com/packages/globtec-phpadr)
```

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[crunzphp/crunz

Schedule your tasks right from the code.

2292.0M6](/packages/crunzphp-crunz)[crazywhalecc/static-php-cli

Build single static PHP binary, with PHP project together, with popular extensions included.

1.8k13.9k](/packages/crazywhalecc-static-php-cli)[phpcr/phpcr-shell

Shell for PHPCR

721.3M8](/packages/phpcr-phpcr-shell)[madewithlove/license-checker

CLI tool to verify allowed licenses for composer dependencies

54449.8k21](/packages/madewithlove-license-checker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
