The Principal Dev – Masterclass for Tech Leads

The Principal Dev – Masterclass for Tech LeadsNov 27-28

Join
PHP Architecture Tester

✔️ PHP Architecture Tester

Easy to use architecture testing tool for PHP

Version PHP Version PHPStan Version


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.

Example

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 stable 1.0.0 version.


Sponsors 💙

JetBrains

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.