# PHPStan Effect System

A PHPStan extension that lets you label methods with effects, such as slow, and stop chosen code from ever reaching them.

You declare an effect once, with an attribute on the method that has it. The extension follows the whole call graph, so the methods in between need no labels. An error shows the full chain of calls that reaches the effect.

- Made by: [Dave Liddament](https://github.com/DaveLiddament)
- Shipped: 19/09/2026
- Date from: [release](https://github.com/DaveLiddament/phpstan-effect-system/releases/tag/0.1.0)
- Source: [github.com/DaveLiddament/phpstan-effect-system](https://github.com/DaveLiddament/phpstan-effect-system)
- Install: `composer require dave-liddament/phpstan-effect-system`
- Licence: MIT
- Stack: plain PHP
- Topics: Developer tools
- Checked: 30/10/2026
- Added: 31/10/2026

## Badge

Listed here? Add this badge to your README:

```markdown
[![Featured on phplives.dev](https://phplives.dev/badge.svg)](https://phplives.dev/entries/phpstan-effect-system/)
```

See more at [phplives.dev](https://phplives.dev)
