flow-php/phpstan-types-bridge

Flow PHP - PHPStan Types Bridge

Maintainers

Package info

github.com/flow-php/phpstan-types-bridge

Homepage

Type:phpstan-extension

pkg:composer/flow-php/phpstan-types-bridge

Fund package maintenance!

norberttech

flow-php.com/sponsor

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.x-dev 2026-05-29 09:40 UTC

This package is auto-updated.

Last update: 2026-05-29 12:27:58 UTC


README

PHPStan extension for flow-php/types. It teaches PHPStan the precise return type of the Flow\Types\DSL\type_structure() function so that structure shapes are narrowed for autocompletion and static analysis.

Installation

composer require --dev flow-php/phpstan-types-bridge

If you use phpstan/extension-installer the extension is registered automatically. Otherwise include it manually in your phpstan.neon:

includes:
    - vendor/flow-php/phpstan-types-bridge/extension.neon

Documentation