mattiasgeniar/phpunit-query-count-assertions
Add PHPUnit/Pest assertions to count and analyze SQL queries in tests. Catch N+1 issues, duplicate queries, slow queries, missing indexes (EXPLAIN), row count problems, and Laravel lazy loading. Supports Laravel 11/12, Doctrine DBAL 4, and Phalcon 6+.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phperf/phpunit | 0.79 | phperf/phpunit is a lightweight PHPUnit extension aimed at profiling and performance measurement during test runs. Add simple hooks to capture timing and resource usage so you can spot slow tests and track performance regressions over time. | 0 | 0 | 0 | 68 | 0 | 20.9 | 29.9 | NOASSERTION | 3 years ago | |
| phpunit/phpunit | 0.73 | PHPUnit is the leading unit testing framework for PHP, based on the xUnit architecture. Run tests from a bundled PHAR or install via Composer, with CI and code coverage support to help keep your code reliable. | 20,013 | 20,525 | 2,233 | 13M | 59 | 88.0 | 72.7 | BSD-3-Clause | 1 day ago | |
| graham-campbell/analyzer | 0.70 | Analyzer is a PHP test utility by Graham Campbell that checks your code for references to classes that don’t actually exist. Compatible with PHP 8.1–8.5 and PHPUnit 10–13, helping catch broken imports and missing dependencies early. | 29 | 30 | 5 | 5K | 0 | 29.6 | 36.1 | MIT | 2 weeks ago | |
| phpunit/php-code-coverage | 0.70 | phpunit/php-code-coverage collects, processes, and renders PHP code coverage data. Use it to start/stop coverage during tests, filter included files, and generate reports such as OpenClover XML from live runs or serialized coverage data. | 8,932 | 8,978 | 386 | 13M | 20 | 72.4 | 59.8 | BSD-3-Clause | 6 days ago |
How can I help you explore Laravel packages today?