boundwize / structarmed
Configurable PHP architecture guards — define your layers and rules, then keep them enforced
Fund package maintenance!
0.13.1
2026-06-13 10:00 UTC
Requires
- php: ^8.2
- composer-runtime-api: ^2.0
- fidry/cpu-core-counter: ^1.3
- nikic/php-parser: ^5.7
Requires (Dev)
- laminas/laminas-coding-standard: ^3.1
- phpstan/phpstan: ^2.2
- phpunit/phpunit: ^11.5
- rector/rector: dev-main
This package is auto-updated.
Last update: 2026-06-13 10:01:31 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.
Contributing
Contributions are welcome. See CONTRIBUTING.md for setup, tooling, and pull request expectations.
License
StructArmed is released under the MIT License.