PHPackages                             kleisli/flow-phpstan - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kleisli/flow-phpstan

ActiveNeos-build[Utility &amp; Helpers](/categories/utility)

kleisli/flow-phpstan
====================

Reflection Extensions for static analysis of Flow classes with magic methods

1.0.1(1mo ago)111[1 issues](https://github.com/Kleisli/Flow.PhpStan/issues)PHP

Since Jun 3Pushed 1mo agoCompare

[ Source](https://github.com/Kleisli/Flow.PhpStan)[ Packagist](https://packagist.org/packages/kleisli/flow-phpstan)[ RSS](/packages/kleisli-flow-phpstan/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

Kleisli.Flow.PhpStan
====================

[](#kleisliflowphpstan)

Reflection Extensions for static analysis of Flow classes with magic methods

Installation
------------

[](#installation)

```
composer require --dev kleisli/flow-phpstan
```

Install the [PHPStan Extension Installer](https://github.com/phpstan/extension-installer#usage) or add the following to your `phpstan.neon` file

```
includes:
    - Build/Kleisli.Flow.PhpStan/phpstan.neon

```

Description
-----------

[](#description)

When you use FlowQuery in PHP or the magic repository methods in Flow (`findOneBy` etc), you either have to ignore the static analysis errors or implement custom extensions for PHPStan.

This package currently provides two MethodClassReflectionExtensions:

### For magic repository methods

[](#for-magic-repository-methods)

When a magic method like `findOneBy` is called, the extension checks if the property exists and is readable. and only marks the method as callable if it is.

### For FlowQuery

[](#for-flowquery)

By default it only checks for the Neos flow query operations, but if you have custom operations, you can add them as parameters to your `phpstan.neon` file

```
parameters:
    flowQueryOperations: []
    finalFlowQueryOperations: []

```

PHPStan documentation
---------------------

[](#phpstan-documentation)

### method class reflection extensions

[](#method-class-reflection-extensions)

### custom parameters

[](#custom-parameters)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance71

Regular maintenance activity

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

3

Last Release

44d ago

Major Versions

v0.1 → 1.0.02026-06-10

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18674199?v=4)[Till Kleisli](/maintainers/kleisli)[@Kleisli](https://github.com/Kleisli)

---

Top Contributors

[![Kleisli](https://avatars.githubusercontent.com/u/18674199?v=4)](https://github.com/Kleisli "Kleisli (6 commits)")

### Embed Badge

![Health badge](/badges/kleisli-flow-phpstan/health.svg)

```
[![Health](https://phpackages.com/badges/kleisli-flow-phpstan/health.svg)](https://phpackages.com/packages/kleisli-flow-phpstan)
```

###  Alternatives

[ticketswap/phpstan-error-formatter

A minimalistic error formatter for PHPStan

87718.9k58](/packages/ticketswap-phpstan-error-formatter)[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

40252.8k34](/packages/ec-europa-toolkit)[ergebnis/rector-rules

Provides rules for rector/rector.

10245.6k52](/packages/ergebnis-rector-rules)[lipemat/phpstan-wordpress

Phpstan extension for working with WordPress

1462.8k1](/packages/lipemat-phpstan-wordpress)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
