https://github.com/phpstan/phpstan-dibi
Dibi class reflection extension for PHPStan
https://github.com/phpstan/phpstan-dibi
dibi php php7 phpstan static-analysis static-analyzer static-code-analysis testing
Last synced: 2 months ago
JSON representation
Dibi class reflection extension for PHPStan
- Host: GitHub
- URL: https://github.com/phpstan/phpstan-dibi
- Owner: phpstan
- License: mit
- Created: 2016-07-08T12:02:33.000Z (almost 9 years ago)
- Default Branch: 2.0.x
- Last Pushed: 2025-04-07T02:16:02.000Z (3 months ago)
- Last Synced: 2025-04-10T14:45:52.595Z (3 months ago)
- Topics: dibi, php, php7, phpstan, static-analysis, static-analyzer, static-code-analysis, testing
- Language: PHP
- Size: 96.7 KB
- Stars: 16
- Watchers: 3
- Forks: 9
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dibi class reflection extension for PHPStan
[](https://github.com/phpstan/phpstan-dibi/actions)
[](https://packagist.org/packages/phpstan/phpstan-dibi)
[](https://packagist.org/packages/phpstan/phpstan-dibi)* [PHPStan](https://phpstan.org/)
* [Dibi](https://dibiphp.com/)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](https://getcomposer.org/):
```
composer require --dev phpstan/phpstan-dibi
```If you also install [phpstan/extension-installer](https://github.com/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
```