SkillAgentSearch skills...

Phpat

✔️ PHP Architecture Tester - Easy architecture testing for PHP

Install / Use

/learn @carlosas/Phpat
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<img width="185px" src="https://raw.githubusercontent.com/carlosas/phpat/main/.github/logo-small.png" alt="PHP Architecture Tester" align="right"> <h1 align="center">✔️ PHP Architecture Tester</h1> <h2 align="center">Easy to use architecture testing tool for PHP</h2> <p align="center"> <a><img src="https://img.shields.io/packagist/v/phpat/phpat?label=last%20version&style=for-the-badge" alt="Version"></a> <a><img src="https://img.shields.io/packagist/php-v/phpat/phpat?style=for-the-badge" alt="PHP Version"></a> <a><img src="https://img.shields.io/badge/phpstan-%5E2.1-blue?style=for-the-badge" alt="PHPStan Version"></a> </p> <br />

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!

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.0 version.

<br />

Sponsors 💙

Claude

JetBrains

Related Skills

View on GitHub
GitHub Stars1.2k
CategoryDevelopment
Updated2d ago
Forks60

Languages

PHP

Security Score

100/100

Audited on Apr 1, 2026

No findings