boundwize/structarmed

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

Maintainers

👁 samsonasik

Package info

github.com/boundwize/structarmed

pkg:composer/boundwize/structarmed

Fund package maintenance!

samsonasik

Statistics

Installs: 447 346

Dependents: 47

Suggesters: 0

Stars: 36

Open Issues: 0

0.13.4 2026-06-13 21:07 UTC

Requires

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 934668b7ee85fac57536c9bca6446981e8291da8

mvcstatic analysislayerdddanalysisdevarchitecturepsr4psr1Enforcementpsr15psr12


README

👁 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:

Contributing

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

License

StructArmed is released under the MIT License.