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: 1 400 981

Dependents: 123

Suggesters: 0

Stars: 101

Open Issues: 0

0.22.13 2026-11-26 23:41 UTC

This package is auto-updated.

Last update: 2026-11-26 23:42:15 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.

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.

Contributing

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

License

StructArmed is released under the MIT License.