Search by

boundwize / structarmed

samsonasik

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

Package info

github.com/boundwize/structarmed

pkg:composer/boundwize/structarmed

Fund package maintenance!

samsonasik

Statistics

Installs: 930 624

Dependents: 57

Suggesters: 0

Stars: 49

Open Issues: 0

0.17.4 2026-09-13 13:56 UTC

This package is auto-updated.

Last update: 2026-09-13 13:57:10 UTC


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:

Community Ecosystem

Explore community projects built around StructArmed.

  • StructArmed Explorer: 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.