flow-php / phpstan-types-bridge
Flow PHP - PHPStan Types Bridge
Package info
github.com/flow-php/phpstan-types-bridge
Type:phpstan-extension
pkg:composer/flow-php/phpstan-types-bridge
1.x-dev
2026-05-29 09:40 UTC
Requires
- php: ~8.3.0 || ~8.4.0 || ~8.5.0
- flow-php/types: 1.x-dev
Requires (Dev)
- phpstan/phpstan: ^2.1
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