Skip to content

仓库 files navigation

StructArmed

StructArmed

Configurable PHP architecture guards: define your layers and rules, then keep them enforced.

Latest Version ci build Code Coverage PHPStan Downloads

Windows macOS Linux

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.

StructArmed violation

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:

Community Ecosystem

探索 community projects built around StructArmed.

  • StructArmed 探索r: visualize your "structarmed.php" configuration as an interactive layer-dependency graph directly in the browser, with no installation required.

Contributing

Contributions are welcome. See CONTRIBUTING.md for setup, tooling, and pull request expectations.

License

StructArmed is released under the MIT License.

关于

🛡️ Configurable PHP architecture guards — define your layers and rules, then keep them enforced

Topics

Resources

Contributing

Stars

45 stars

关注者

2 watching

复刻s

发布

Sponsor this project

贡献者

Languages