Bug finders

phpstan-dba

PHPStan extension for static SQL validation and database result type inference.

Installation and compatibility

Type
Extension
PHP
^7.4 || ^8.0
License
MIT
Pricing
Free and open source
Install
composer require --dev staabm/phpstan-dba

Check the project documentation for configuration and version-specific requirements.

Strengths and limitations

ProAdds SQL validation and database result type inference to an existing PHPStan workflow.

ConDatabase-specific inference adds configuration and does not replace runtime integration tests.

Editorially reviewed

Repository activity

Activity: Active. Repository activity is a separate signal from suitability for your application.

Latest release
0.5.4
Last commit
Last release

Metadata checked: .

Explore related tools

Browse all bug finders. Tools in the same category can serve different workflows; compare their requirements and limitations.