https://github.com/boundwize/structarmed
🛡️ Configurable PHP architecture guards — define your layers and rules, then keep them enforced
https://github.com/boundwize/structarmed
analysis architecture layer php static
Last synced: about 18 hours ago
JSON representation
🛡️ Configurable PHP architecture guards — define your layers and rules, then keep them enforced
- Host: GitHub
- URL: https://github.com/boundwize/structarmed
- Owner: boundwize
- License: mit
- Created: 2026-05-08T09:08:26.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-06-27T00:34:56.000Z (3 days ago)
- Last Synced: 2026-06-27T00:35:38.082Z (3 days ago)
- Topics: analysis, architecture, layer, php, static
- Language: PHP
- Homepage: https://boundwize.github.io/structarmed/
- Size: 1.69 MB
- Stars: 37
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# StructArmed
Configurable PHP architecture guards: define your layers and rules, then keep them enforced.
[](https://github.com/boundwize/structarmed/releases)
[](https://github.com/boundwize/structarmed/actions/workflows/ci.yml)
[](https://codecov.io/gh/boundwize/structarmed)
[](https://github.com/phpstan/phpstan)
[](https://packagist.org/packages/boundwize/structarmed)



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.
## Quick Start
```bash
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:
- Documentation site:
- Documentation source: [docs/](docs/index.md) for local edits and GitHub Pages publishing.
## Contributing
Contributions are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for setup, tooling, and pull request expectations.
## License
StructArmed is released under the [MIT License](LICENSE).