Packagist · packagist:mattiasgeniar/phpunit-query-count-assertions
mattiasgeniar/phpunit-query-count-assertions active
A custom assertion for phpunit that allows you to count the amount of SQL queries used in a test. Can be used to enforce certain performance characteristics (ie: limit queries to X for a certain action).
| Latest stable version | 1.3.2 |
|---|---|
| Published | 2026-02-26 18:26:30+00:00 |
| Install | composer require mattiasgeniar/phpunit-query-count-assertions |
| Required PHP version (composer.json) | PHP ^8.2 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-10-10 03:08:36 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2026-02-26 18:26:30 UTC · 225 days ago |
| Stable releases in the last 12 months | 12 |
| Published versions | 24 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
1.3.2 | 2026-02-26 18:26:30 UTC |
1.3.1 | 2026-02-09 08:31:12 UTC |
1.3.0 | 2026-02-09 08:14:11 UTC |
1.2.5 | 2026-02-06 10:45:14 UTC |
1.2.4 | 2026-01-25 11:09:27 UTC |
1.2.3 | 2026-01-20 12:29:00 UTC |
1.2.2 | 2026-01-20 12:29:00 UTC |
1.2.1 | 2026-01-19 10:25:35 UTC |
1.2.0 | 2026-01-18 21:40:18 UTC |
1.1.8 | 2026-01-18 21:12:27 UTC |
1.1.7 | 2026-01-14 18:59:46 UTC |
1.1.6 | 2026-01-12 13:33:39 UTC |
1.1.5 | 2025-02-24 07:57:33 UTC |
1.1.4 | 2025-02-17 07:55:52 UTC |
1.1.3 | 2024-03-04 10:05:32 UTC |
1.1.2 | 2023-01-24 07:44:41 UTC |
1.1.1 | 2022-01-21 14:33:41 UTC |
1.0.1 | 2022-01-21 14:30:20 UTC |
1.1.0 | 2020-12-01 14:30:44 UTC |
1.0.0 | 2020-09-28 12:02:52 UTC |
Showing the 20 most recent of 24 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
php 7.4 | 1.1.5 |
php 8.0 | 1.1.5 |
php 8.1 | 1.1.5 |
php 8.2 | 1.3.2 |
php 8.3 | 1.3.2 |
php 8.4 | 1.3.2 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of mattiasgeniar/phpunit-query-count-assertions?
The latest stable version of mattiasgeniar/phpunit-query-count-assertions is 1.3.2, published on 2026-02-26. Verified by Vigia on 2026-10-10.
How do I install the latest version of mattiasgeniar/phpunit-query-count-assertions?
Run composer require mattiasgeniar/phpunit-query-count-assertions. The latest stable version is 1.3.2 (verified 2026-10-10).
Is mattiasgeniar/phpunit-query-count-assertions deprecated?
No. mattiasgeniar/phpunit-query-count-assertions is not marked as deprecated in the registry.
Which PHP version does mattiasgeniar/phpunit-query-count-assertions require?
mattiasgeniar/phpunit-query-count-assertions 1.3.2 declares this requirement: PHP ^8.2.
Does mattiasgeniar/phpunit-query-count-assertions 1.3.2 have known vulnerabilities?
No known advisories affect mattiasgeniar/phpunit-query-count-assertions 1.3.2 according to the data Vigia checks.
Is mattiasgeniar/phpunit-query-count-assertions still maintained?
mattiasgeniar/phpunit-query-count-assertions published 12 stable releases in the last 12 months; the most recent was 225 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- typo3/cms-workspaces
- spiral-packages/symfony-serializer
- makinacorpus/php-lucene
- bitexpert/phpstan-magento
- zf1s/zend-loader
- elazar/flystream
- ray/aop
- realrashid/sweet-alert
- opentok/opentok
- yajra/laravel-oci8
- mezzio/mezzio-fastroute
- spiral/temporal-bridge
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/mattiasgeniar/phpunit-query-count-assertions) [](https://vigia.coredls.cloud/packagist/mattiasgeniar/phpunit-query-count-assertions) [](https://vigia.coredls.cloud/packagist/mattiasgeniar/phpunit-query-count-assertions)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/mattiasgeniar/phpunit-query-count-assertions
GET https://vigia.coredls.cloud/v1/packages/packagist/mattiasgeniar/phpunit-query-count-assertions/versions/{version}