Search by

boundwize / structarmed

samsonasik

Ultra-fast 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 418 682

Dependents: 126

Suggesters: 0

Stars: 117

Open Issues: 4

0.22.24 2026-12-02 04:19 UTC

This package is auto-updated.

Last update: 2026-12-03 17:33:23 UTC


README

StructArmed

Ultra-fast 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.

It is ultra-fast, even on large codebases: see the PHP toolchain benchmarks.

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.
SARIF PHP Converters for StructArmed Convert the StructArmed JSON report to SARIF for code scanning tools and SARIF viewers.

Contributing

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

License

StructArmed is released under the MIT License.