phpstan / phpstan-dibi
Dibi class reflection extension for PHPStan
Installs: 904 733
Dependents: 8
Suggesters: 0
Security: 0
Stars: 16
Watchers: 1
Forks: 10
Open Issues: 3
Type:phpstan-extension
pkg:composer/phpstan/phpstan-dibi
Requires
- php: ^7.4 || ^8.0
- phpstan/phpstan: ^2.0
Requires (Dev)
- dibi/dibi: ~4.0
- php-parallel-lint/php-parallel-lint: ^1.2
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^9.6
Conflicts
- dibi/dibi: <3.0
- 2.0.x-dev
- 2.0.0
- 1.1.x-dev
- 1.0.2
- 1.0.1
- 1.0.0
- 0.12.3
- 0.12.2
- 0.12.1
- 0.12.0
- 0.11.1
- 0.11
- 0.10
- 0.9
- 0.8
- 0.7
- 0.6
- 0.5
- 0.4
- 0.3
- 0.2
- 0.1
- dev-update-readme-features
- dev-react-on-issue-opened
- dev-add-php-85-to-ci
- dev-add-claude-md-export-ignore
- dev-add-claude-md
- dev-renovate/major-github-actions
- dev-renovate/major-root-composer
This package is auto-updated.
Last update: 2026-02-19 21:29:51 UTC
README
This extension provides the following features:
- Defines dynamic methods on
Dibi\Fluentinstances. They are called to build an SQL query dynamically. Each dynamic method accepts variadic arguments and returnsDibi\Fluentfor method chaining. - Registers
Dibi\Rowas 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!
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