phpstan/phpstan-dibi

Dibi class reflection extension for PHPStan

Maintainers

👁 ondrejmirtes

Package info

github.com/phpstan/phpstan-dibi

Type:phpstan-extension

pkg:composer/phpstan/phpstan-dibi

Statistics

Installs: 940 967

Dependents: 8

Suggesters: 0

Stars: 16

Open Issues: 4


README

👁 Build
👁 Latest Stable Version
👁 License

This extension provides the following features:

  • Defines dynamic methods on Dibi\Fluent instances. They are called to build an SQL query dynamically. Each dynamic method accepts variadic arguments and returns Dibi\Fluent for method chaining.
  • Registers Dibi\Row as a universal object crate, allowing dynamic property access without errors.

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!