Packagist · packagist:spatie/phpunit-snapshot-assertions
spatie/phpunit-snapshot-assertions 活跃
Snapshot testing with PHPUnit
| 最新稳定版本 | 5.4.0 |
|---|---|
| 发布时间 | 2026-04-29 09:52:03+00:00 |
| 安装 | composer require spatie/phpunit-snapshot-assertions |
| 所需 PHP 版本 (composer.json) | PHP ^8.1 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-10-09 03:01:40 UTC |
| 来源 | api.osv.dev, repo.packagist.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-04-29 09:52:03 UTC · 162 天前 |
| 过去 12 个月的稳定版本数 | 5 |
| 已发布版本数 | 72 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
5.4.0 | 2026-04-29 09:52:03 UTC |
5.3.2 | 2026-02-09 20:49:57 UTC |
5.3.1 | 2026-02-08 22:28:19 UTC |
5.3.0 | 2026-01-22 18:43:42 UTC |
5.2.3 | 2025-11-14 08:08:38 UTC |
5.2.2 | 2025-08-19 06:43:29 UTC |
5.2.1 | 2025-07-02 23:45:28 UTC |
5.2.0 | 2025-05-08 15:44:02 UTC |
5.1.8 | 2025-02-10 09:19:13 UTC |
5.1.7 | 2024-12-09 15:47:41 UTC |
5.1.6 | 2024-05-03 07:53:03 UTC |
4.2.17 | 2024-05-03 07:52:41 UTC |
5.1.5 | 2024-02-20 10:04:25 UTC |
5.1.4 | 2024-02-03 09:55:12 UTC |
5.1.3 | 2023-11-29 22:07:37 UTC |
5.1.2 | 2023-10-11 17:20:06 UTC |
5.1.1 | 2023-09-12 11:05:46 UTC |
5.1.0 | 2023-09-11 14:28:48 UTC |
5.0.2 | 2023-04-20 08:25:04 UTC |
5.0.1 | 2023-02-13 07:44:22 UTC |
显示 72 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
php 7.4 | 4.2.17 |
php 8.0 | 4.2.17 |
php 8.1 | 5.4.0 |
php 8.2 | 5.4.0 |
php 8.3 | 5.4.0 |
php 8.4 | 5.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" } } }常见问题
spatie/phpunit-snapshot-assertions 的最新版本是什么?
spatie/phpunit-snapshot-assertions 的最新稳定版本是 5.4.0,发布于 2026-04-29。Vigia 于 2026-10-09 核实。
如何安装 spatie/phpunit-snapshot-assertions 的最新版本?
运行 composer require spatie/phpunit-snapshot-assertions。最新稳定版本是 5.4.0(2026-10-09 核实)。
spatie/phpunit-snapshot-assertions 是否已弃用?
否。注册表中 spatie/phpunit-snapshot-assertions 未被标记为已弃用。
spatie/phpunit-snapshot-assertions 需要哪个版本的 PHP?
spatie/phpunit-snapshot-assertions 5.4.0 声明的要求为:PHP ^8.1。
spatie/phpunit-snapshot-assertions 5.4.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 spatie/phpunit-snapshot-assertions 5.4.0。
spatie/phpunit-snapshot-assertions 是否仍在维护?
spatie/phpunit-snapshot-assertions 在过去 12 个月内发布了 5 个稳定版本,最近一次在 162 天前。活跃度:活跃。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- laravel-lang/lang
- twig/markdown-extra
- christian-riesen/base32
- pestphp/pest-plugin-type-coverage
- spatie/laravel-typescript-transformer
- felixfbecker/advanced-json-rpc
- illuminate/view
- spatie/laravel-settings
- league/iso3166
- laravel/legacy-factories
- spatie/php-attribute-reader
- devizzent/cebe-php-openapi
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/packagist/spatie/phpunit-snapshot-assertions) [](https://vigia.coredls.cloud/packagist/spatie/phpunit-snapshot-assertions) [](https://vigia.coredls.cloud/packagist/spatie/phpunit-snapshot-assertions)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/phpunit-snapshot-assertions
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/phpunit-snapshot-assertions/versions/{version}