An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# StructArmed


StructArmed


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

[![Latest Version](https://img.shields.io/github/release/boundwize/structarmed.svg?style=flat-square)](https://github.com/boundwize/structarmed/releases)
[![ci build](https://github.com/boundwize/structarmed/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/boundwize/structarmed/actions/workflows/ci.yml)
[![Code Coverage](https://codecov.io/gh/boundwize/structarmed/branch/main/graph/badge.svg)](https://codecov.io/gh/boundwize/structarmed)
[![PHPStan](https://img.shields.io/badge/style-level%20max-brightgreen.svg?style=flat-square&label=phpstan)](https://github.com/phpstan/phpstan)
[![Downloads](https://poser.pugx.org/boundwize/structarmed/downloads)](https://packagist.org/packages/boundwize/structarmed)

![Windows](https://img.shields.io/badge/Windows-supported-0078D6?logo=windows&logoColor=white&labelColor=555555)
![macOS](https://img.shields.io/badge/macOS-supported-C084FC?logo=apple&logoColor=white&labelColor=555555)
![Linux](https://img.shields.io/badge/Linux-supported-FCC624?logo=linux&logoColor=black&labelColor=555555)

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

```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).