Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months ago
JSON representation
Dibi class reflection extension for PHPStan
- Host: GitHub
- URL: https://github.com/phpstan/phpstan-dibi
- Owner: phpstan
- Created: 2016-07-08T12:02:33.000Z (over 8 years ago)
- Default Branch: 1.1.x
- Last Pushed: 2024-04-20T06:40:01.000Z (10 months ago)
- Last Synced: 2024-05-23T08:26:12.216Z (9 months ago)
- Topics: dibi, php, php7, phpstan, static-analysis, static-analyzer, static-code-analysis, testing
- Language: PHP
- Size: 88.9 KB
- Stars: 15
- Watchers: 4
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dibi class reflection extension for PHPStan
[![Build](https://github.com/phpstan/phpstan-dibi/workflows/Build/badge.svg)](https://github.com/phpstan/phpstan-dibi/actions)
[![Latest Stable Version](https://poser.pugx.org/phpstan/phpstan-dibi/v/stable)](https://packagist.org/packages/phpstan/phpstan-dibi)
[![License](https://poser.pugx.org/phpstan/phpstan-dibi/license)](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
```