boundwize / structarmed
Configurable PHP architecture guards — define your layers and rules, then keep them enforced
Fund package maintenance!
Requires
- php: ^8.2
- composer-runtime-api: ^2.0
- boundwize/jsonrecast: ^1.0
- fidry/cpu-core-counter: ^1.4
- nikic/php-parser: ^5.9
Requires (Dev)
- boundwize/pyrameter: ^0.5
- laminas/laminas-coding-standard: ^3.1
- phpstan/phpstan: ^2.2
- phpunit/phpunit: ^11.5
- rector/rector: dev-main
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- 0.22.13
- 0.22.12
- 0.22.11
- 0.22.10
- 0.22.9
- 0.22.8
- 0.22.7
- 0.22.6
- 0.22.5
- 0.22.4
- 0.22.3
- 0.22.2
- 0.22.1
- 0.22.0
- 0.21.30
- 0.21.29
- 0.21.28
- 0.21.27
- 0.21.26
- 0.21.25
- 0.21.24
- 0.21.23
- 0.21.22
- 0.21.21
- 0.21.20
- 0.21.19
- 0.21.18
- 0.21.17
- 0.21.16
- 0.21.15
- 0.21.14
- 0.21.13
- 0.21.12
- 0.21.11
- 0.21.10
- 0.21.9
- 0.21.8
- 0.21.7
- 0.21.6
- 0.21.5
- 0.21.4
- 0.21.3
- 0.21.2
- 0.21.1
- 0.21.0
- 0.20.5
- 0.20.4
- 0.20.3
- 0.20.2
- 0.20.1
- 0.20.0
- 0.19.10
- 0.19.9
- 0.19.8
- 0.19.7
- 0.19.6
- 0.19.5
- 0.19.4
- 0.19.3
- 0.19.2
- 0.19.1
- 0.19.0
- 0.18.11
- 0.18.10
- 0.18.9
- 0.18.8
- 0.18.7
- 0.18.6
- 0.18.5
- 0.18.4
- 0.18.3
- 0.18.2
- 0.18.1
- 0.18.0
- 0.17.12
- 0.17.11
- 0.17.10
- 0.17.9
- 0.17.8
- 0.17.7
- 0.17.6
- 0.17.5
- 0.17.4
- 0.17.3
- 0.17.2
- 0.17.1
- 0.17.0
- 0.16.31
- 0.16.30
- 0.16.29
- 0.16.28
- 0.16.27
- 0.16.26
- 0.16.25
- 0.16.24
- 0.16.23
- 0.16.22
- 0.16.21
- 0.16.20
- 0.16.19
- 0.16.18
- 0.16.17
- 0.16.16
- 0.16.15
- 0.16.14
- 0.16.13
- 0.16.12
- 0.16.11
- 0.16.10
- 0.16.9
- 0.16.8
- 0.16.7
- 0.16.6
- 0.16.5
- 0.16.4
- 0.16.3
- 0.16.2
- 0.16.1
- 0.16.0
- 0.15.44
- 0.15.43
- 0.15.42
- 0.15.41
- 0.15.40
- 0.15.39
- 0.15.38
- 0.15.37
- 0.15.36
- 0.15.35
- 0.15.34
- 0.15.33
- 0.15.32
- 0.15.31
- 0.15.30
- 0.15.29
- 0.15.28
- 0.15.27
- 0.15.26
- 0.15.25
- 0.15.24
- 0.15.23
- 0.15.22
- 0.15.21
- 0.15.20
- 0.15.19
- 0.15.18
- 0.15.17
- 0.15.16
- 0.15.15
- 0.15.14
- 0.15.13
- 0.15.12
- 0.15.11
- 0.15.10
- 0.15.9
- 0.15.8
- 0.15.7
- 0.15.6
- 0.15.5
- 0.15.4
- 0.15.3
- 0.15.2
- 0.15.1
- 0.15.0
- 0.14.20
- 0.14.19
- 0.14.18
- 0.14.17
- 0.14.16
- 0.14.15
- 0.14.14
- 0.14.13
- 0.14.12
- 0.14.11
- 0.14.10
- 0.14.9
- 0.14.8
- 0.14.7
- 0.14.6
- 0.14.5
- 0.14.4
- 0.14.3
- 0.14.2
- 0.14.1
- 0.14.0
- 0.13.8
- 0.13.7
- 0.13.6
- 0.13.5
- 0.13.4
- 0.13.3
- 0.13.2
- 0.13.1
- 0.13.0
- 0.12.6
- 0.12.5
- 0.12.4
- 0.12.3
- 0.12.2
- 0.12.1
- 0.12.0
- 0.11.3
- 0.11.2
- 0.11.1
- 0.11.0
- 0.10.1
- 0.10.0
- 0.9.5
- 0.9.4
- 0.9.3
- 0.9.2
- 0.9.1
- 0.9.0
- 0.8.7
- 0.8.6
- 0.8.5
- 0.8.4
- 0.8.3
- 0.8.2
- 0.8.1
- 0.8.0
- 0.7.12
- 0.7.11
- 0.7.10
- 0.7.9
- 0.7.8
- 0.7.7
- 0.7.6
- 0.7.5
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.17
- 0.6.16
- 0.6.15
- 0.6.14
- 0.6.13
- 0.6.12
- 0.6.11
- 0.6.10
- 0.6.9
- 0.6.8
- 0.6.7
- 0.6.6
- 0.6.5
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.5
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.5
- 0.4.4
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.5
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- 0.0.5
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
- dev-exclude-source
- dev-simplify-match
- dev-perf-psr4-2
- dev-source-paths-c
- dev-internal-token-clean
This package is auto-updated.
Last update: 2026-11-26 23:42:15 UTC
README
Configurable PHP architecture guards: define your layers and rules, then keep them enforced.
StructArmed turns architecture decisions into executable checks. Start with presets for PSR, MVC, or DDD projects, then tune or extend the rules in native PHP.
Quick Start
composer require --dev boundwize/structarmed vendor/bin/structarmed init --preset=psr4 vendor/bin/structarmed analyse
Documentation
Documentation is available online, with source files kept in this repository:
- Documentation site: https://boundwize.github.io/structarmed/
- Documentation source: docs/ for local edits and GitHub Pages publishing.
Community Ecosystem
Explore community projects built around StructArmed.
| Project | Description |
|---|---|
| StructArmed Explorer | Explore structarmed.php as an interactive layer-dependency graph in your browser. |
| StructArmed CakePHP | CakePHP 5 presets for MVC and commands, with plugin namespace support. |
Contributing
Contributions are welcome. See CONTRIBUTING.md for setup, tooling, and pull request expectations.
License
StructArmed is released under the MIT License.
