carlosas / phpat
PHP Architecture Tester
Installs: 56 502
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1 205
Watchers: 22
Forks: 57
Open Issues: 9
Type:phpstan-extension
Requires
- php: ^8.1
- phpstan/phpstan: ^2.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.87
- kubawerlos/php-cs-fixer-custom-fixers: 3.32.*
- phpunit/phpunit: ^10.5
- vimeo/psalm: ^6.13
- dev-master
- dev-main
- v0.12.x-dev
- 0.12.0
- 0.11.10
- 0.11.9
- 0.11.8
- 0.11.7
- 0.11.6
- 0.11.5
- 0.11.4
- 0.11.3
- 0.11.2
- 0.11.1
- 0.11.0
- 0.11.0-beta
- 0.10.20
- 0.10.19
- 0.10.18
- 0.10.17
- 0.10.16
- 0.10.15
- 0.10.14
- 0.10.13
- 0.10.12
- 0.10.11
- 0.10.10
- 0.10.9
- 0.10.8
- 0.10.7
- 0.10.6
- 0.10.5
- 0.10.4
- 0.10.3
- 0.10.2
- 0.10.1
- 0.10.0
- 0.10.0-rc.3
- 0.10.0-rc.2
- v0.10.0-rc.1
- 0.10.0-beta.1
- v0.9.x-dev
- 0.9.1
- 0.9.0
- 0.9.0-alpha.1
- 0.8.5-alpha.5
- 0.8.5-alpha.4
- 0.8.5-alpha.3
- 0.8.5-alpha.2
- 0.8.5-alpha.1
- 0.8.4
- 0.8.3
- 0.8.2
- 0.8.1
- 0.8.0
- 0.8.0-beta.1
- 0.8.0-alpha.3
- 0.8.0-alpha.2
- 0.8.0-alpha.1
- 0.7.7
- 0.7.6
- 0.7.5
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.1
- 0.6.0
- 0.5.8
- 0.5.7
- 0.5.6
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.4
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.5
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.1
- 0.1.0
- dev-getting-started
- dev-master-to-main
- dev-fix-one-method-named
- dev-simplify-design
- dev-container-injection
- dev-anonymous-select
- dev-php83constants
This package is auto-updated.
Last update: 2025-09-11 20:10:38 UTC
README
✔️ 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:
composer require --dev phpat/phpat
Activate the extension using one of the following methods:
Automatic activation
composer require --dev phpstan/extension-installer
Manual activation
# 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 stable1.0.0
version.