phpstan-dba
PHPStan based SQL static analysis and type inference for the database access layer (by staabm)
phpstan-dba | zf-select-strip | |
---|---|---|
3 | 1 | |
244 | 2 | |
- | - | |
6.4 | 0.0 | |
29 days ago | about 2 years ago | |
PHP | PHP | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
phpstan-dba
Posts with mentions or reviews of phpstan-dba.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-16.
- Detect slow queries before they hit your production database using phpstan-dba extension for PHPStan
-
Type inference for the database access layer in PHP
a PHPStan extension called phpstan-dba, which supports result-set type inference and sql syntax checking capabilites. Its really helpful to get your codebase type coverage improved from the ground up, as typically the database access apis are a big source of mixed types.
https://github.com/staabm/phpstan-dba
- Static analysis and type inference for SQL strings in PHP
zf-select-strip
Posts with mentions or reviews of zf-select-strip.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-16.
-
Detect slow queries before they hit your production database using phpstan-dba extension for PHPStan
Btw: I also did a prototype on how a query builder can be transformed into a plain sql query at analysis time with https://github.com/staabm/zf-select-strip/blob/main/tests/phpstan/data/zf-select.php
What are some alternatives?
When comparing phpstan-dba and zf-select-strip you can also consider the following projects:
phpstan-banned-code - Detect banned code through PHPStan
Psalm - A static analysis tool for finding errors in PHP applications
PHP Architecture Tester - PHP Architecture Tester - Easy architecture testing for PHP :heavy_check_mark: