Skip to content

phpstan/phpstan-dibi

Repository files navigation

Dibi class reflection extension for PHPStan

Build Latest Stable Version License

This extension defines dynamic methods on Dibi\Fluent instance. They are called to build an SQL query dynamically.

Installation

To use this extension, require it in Composer:

composer require --dev phpstan/phpstan-dibi

If you also install phpstan/extension-installer then you're all set!

Manual installation

If you don't want to use phpstan/extension-installer, include extension.neon in your project's PHPStan config:

includes:
    - vendor/phpstan/phpstan-dibi/extension.neon