Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

phpat

> 测试质量
Open source

✔️ PHP Architecture Tester - Easy architecture testing for PHP

1.3K stars0 likes3 views
WebsiteGitHub

About

✔️ PHP Architecture Tester - Easy architecture testing for PHP

✔️ PHP Architecture Tester

Easy to use architecture testing tool for PHP

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.

Getting started

Require PHPat with Composer:

bash
composer require --dev phpat/phpat

Activate the extension using one of the following methods:

Automatic activation

bash
composer require --dev phpstan/extension-installer

Manual activation

neon
# phpstan.neon
includes:
    - vendor/phpat/phpat/extension.neon

For further information, check out the documentation at phpat.dev

You can visit the Examples section to get some ideas of typical use cases.

PHP Architecture Tester is open source, contributions are welcome!

Warning

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.

Sponsors

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHParchitecturelinterphpphpstan-extension

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category测试质量
PricingOpen source

> Related tools

J
Jest
JavaScript 测试框架
P
Playwright
现代端到端测试框架
E
eslint-plugin-test-selectors
Enforces that data-test-id attributes are added to interactive DOM elements (JSX) to help with UI testing. JSX only.