boundwize/structarmed
Configurable PHP architecture guards — define your layers and rules, then keep them enforced
Maintainers
Fund package maintenance!
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
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 934668b7ee85fac57536c9bca6446981e8291da8
- Abdul Malik Ikhsan <samsonasik.woop@gmail.com>
mvcstatic analysislayerdddanalysisdevarchitecturepsr4psr1Enforcementpsr15psr12
This package is auto-updated.
Last update: 2026-06-17 19:32:22 UTC
README
Configurable PHP architecture guards: define your layers and rules, then keep them enforced.
👁 Latest Version
👁 ci build
👁 Code Coverage
👁 PHPStan
👁 Downloads
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.
