Vigia

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 version1.4.0
Published2026-11-09 14:18:57+00:00
Installcomposer require mattiasgeniar/phpunit-query-count-assertions
Required PHP version (composer.json)PHP ^8.2
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-27 03:29:05 UTC
Sourcesapi.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

Check my whole package.json

Using an AI coding agent every day? Connect Vigia once and it checks this by itself.

Maintenance

Activityactive
Last stable release2026-11-09 14:18:57 UTC · 17 days ago
Stable releases in the last 12 months13
Published versions25

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
1.4.02026-11-09 14:18:57 UTC
1.3.22026-02-26 18:26:30 UTC
1.3.12026-02-09 08:31:12 UTC
1.3.02026-02-09 08:14:11 UTC
1.2.52026-02-06 10:45:14 UTC
1.2.42026-01-25 11:09:27 UTC
1.2.32026-01-20 12:29:00 UTC
1.2.22026-01-20 12:29:00 UTC
1.2.12026-01-19 10:25:35 UTC
1.2.02026-01-18 21:40:18 UTC
1.1.82026-01-18 21:12:27 UTC
1.1.72026-01-14 18:59:46 UTC
1.1.62026-01-12 13:33:39 UTC
1.1.52025-02-24 07:57:33 UTC
1.1.42025-02-17 07:55:52 UTC
1.1.32024-03-04 10:05:32 UTC
1.1.22023-01-24 07:44:41 UTC
1.1.12022-01-21 14:33:41 UTC
1.0.12022-01-21 14:30:20 UTC
1.1.02020-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).

RuntimeNewest compatible version
php 7.41.1.5
php 8.01.1.5
php 8.11.1.5
php 8.21.4.0
php 8.31.4.0
php 8.41.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

Related packages

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/packagist/mattiasgeniar/phpunit-query-count-assertions/version.svg)](https://vigia.coredls.cloud/packagist/mattiasgeniar/phpunit-query-count-assertions)
[![maintained](https://vigia.coredls.cloud/badge/packagist/mattiasgeniar/phpunit-query-count-assertions/maintained.svg)](https://vigia.coredls.cloud/packagist/mattiasgeniar/phpunit-query-count-assertions)
[![status](https://vigia.coredls.cloud/badge/packagist/mattiasgeniar/phpunit-query-count-assertions/status.svg)](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}