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.
composer require --dev boundwize/structarmed
vendor/bin/structarmed init --preset=psr4
vendor/bin/structarmed analyseDocumentation 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.
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. |
Contributions are welcome. See CONTRIBUTING.md for setup, tooling, and pull request expectations.
StructArmed is released under the MIT License.
