Packagist · packagist:mattiasgeniar/phpunit-query-count-assertions
mattiasgeniar/phpunit-query-count-assertions 活跃
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).
mattiasgeniar/phpunit-query-count-assertions 的最新稳定版本是 1.4.0,发布于 2026-11-09。Vigia 于 2026-11-27 核实。
| 最新稳定版本 | 1.4.0 |
|---|---|
| 发布时间 | 2026-11-09 14:18:57+00:00 |
| 安装 | composer require mattiasgeniar/phpunit-query-count-assertions |
| 所需 PHP 版本 (composer.json) | PHP ^8.2 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-27 03:29:05 UTC |
| 来源 | api.osv.dev, repo.packagist.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-11-09 14:18:57 UTC · 17 天前 |
| 过去 12 个月的稳定版本数 | 13 |
| 已发布版本数 | 25 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
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 |
显示 25 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
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 |
把这些数据交给你的 AI 智能体
Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
添加到 Cursor添加到 VS Code★ 在 GitHub 上加星
任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }常见问题
mattiasgeniar/phpunit-query-count-assertions 的最新版本是什么?
mattiasgeniar/phpunit-query-count-assertions 的最新稳定版本是 1.4.0,发布于 2026-11-09。Vigia 于 2026-11-27 核实。
如何安装 mattiasgeniar/phpunit-query-count-assertions 的最新版本?
运行 composer require mattiasgeniar/phpunit-query-count-assertions。最新稳定版本是 1.4.0(2026-11-27 核实)。
mattiasgeniar/phpunit-query-count-assertions 是否已弃用?
否。注册表中 mattiasgeniar/phpunit-query-count-assertions 未被标记为已弃用。
mattiasgeniar/phpunit-query-count-assertions 需要哪个版本的 PHP?
mattiasgeniar/phpunit-query-count-assertions 1.4.0 声明的要求为:PHP ^8.2。
mattiasgeniar/phpunit-query-count-assertions 1.4.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 mattiasgeniar/phpunit-query-count-assertions 1.4.0。
mattiasgeniar/phpunit-query-count-assertions 是否仍在维护?
mattiasgeniar/phpunit-query-count-assertions 在过去 12 个月内发布了 13 个稳定版本,最近一次在 17 天前。活跃度:活跃。
观察到的变更
- Mon Nov 09 2026 15:26:21 GM +0000 (Coordinated Universal Time) — released 1.3.2 → 1.4.0
相关软件包
- 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
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 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)
供智能体使用
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}