Phpat
✔️ PHP Architecture Tester - Easy architecture testing for PHP
Install / Use
/learn @carlosas/PhpatREADME
Introduction 📜
PHP Architecture Tester is a PHPStan extension (Static Analysis tool) designed to verify architectural requirements.
It provides a natural language abstraction that enables you to define your own architectural rules and and assess their compliance in your code.
<p align="center"> <img width="700px" src="https://raw.githubusercontent.com/carlosas/phpat/main/docs/assets/example.gif" alt="Example"> </p>Getting started 🚀
Require PHPat with Composer:
composer require --dev phpat/phpat
Activate the extension using one of the following methods:
<details> <summary>Automatic activation</summary>composer require --dev phpstan/extension-installer
</details>
<details>
<summary>Manual activation</summary>
# phpstan.neon
includes:
- vendor/phpat/phpat/extension.neon
</details>
<br />
For further information, check out the documentation at phpat.dev
You can visit the Examples section to get some ideas of typical use cases.
<h2></h2> <br />PHP Architecture Tester is open source, contributions are welcome!
<br />Warning<br /> The launch of early-stage releases (0.x.x) could break the API according to Semantic Versioning 2.0. We are using minor for breaking changes until the release of the stable
1.0.0version.
Sponsors 💙
Related Skills
gh-issues
347.0kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Writing Hookify Rules
107.8kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
