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).
The latest stable version of mattiasgeniar/phpunit-query-count-assertions is 1.4.0, published on 2026-11-09. Verified by Vigia on 2026-11-27.
| Latest stable version | 1.4.0 |
|---|---|
| Published | 2026-11-09 14:18:57+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-11-27 03:29:05 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the packagist package "mattiasgeniar/phpunit-query-count-assertions", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/packagist/mattiasgeniar/phpunit-query-count-assertions . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-11-09 14:18:57 UTC · 17 days ago |
| Stable releases in the last 12 months | 13 |
| Published versions | 25 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
1.4.0 | 2026-11-09 14:18:57 UTC |
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 |
Showing the 20 most recent of 25 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.4.0 |
php 8.3 | 1.4.0 |
php 8.4 | 1.4.0 |
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.4.0, published on 2026-11-09. Verified by Vigia on 2026-11-27.
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.4.0 (verified 2026-11-27).
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.4.0 declares this requirement: PHP ^8.2.
Does mattiasgeniar/phpunit-query-count-assertions 1.4.0 have known vulnerabilities?
No known advisories affect mattiasgeniar/phpunit-query-count-assertions 1.4.0 according to the data Vigia checks.
Is mattiasgeniar/phpunit-query-count-assertions still maintained?
mattiasgeniar/phpunit-query-count-assertions published 13 stable releases in the last 12 months; the most recent was 17 days ago. Activity: active.
Observed changes
- Mon Nov 09 2026 15:26:21 GM +0000 (Coordinated Universal Time) — released 1.3.2 → 1.4.0
Related packages
- apache/avro
- dvdoug/boxpacker
- php-collective/code-sniffer
- kartik-v/yii2-widgets
- yiisoft/json
- prinsfrank/enums
- axy/errors
- kartik-v/yii2-widget-affix
- a2lix/translation-form-bundle
- spatie/laravel-livewire-wizard
- sunra/php-simple-html-dom-parser
- cloudconvert/cloudconvert-php
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}