Vigia

Packagist · packagist:hamcrest/hamcrest-php

hamcrest/hamcrest-php 活跃

This is the PHP port of Hamcrest Matchers

最新稳定版本3.0.0
发布时间2026-03-17 11:56:53+00:00
安装composer require hamcrest/hamcrest-php
所需 PHP 版本 (composer.json)PHP ^7.4 || ^8.0
许可证BSD-3-Clause
最新版本的安全公告暂无已知
最近核实2026-10-08 20:59:34 UTC
来源api.osv.dev, repo.packagist.org

维护情况

活跃度放缓
最近的稳定版本2026-03-17 11:56:53 UTC · 205 天前
过去 12 个月的稳定版本数1
已发布版本数10

仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。

版本历史

版本发布时间
3.0.02026-03-17 11:56:53 UTC
2.1.12025-04-30 06:54:44 UTC
2.1.02025-04-29 18:09:42 UTC
2.0.12020-07-09 08:09:16 UTC
2.0.02016-01-20 08:20:44 UTC
1.2.22015-05-11 14:41:42 UTC
1.2.12015-01-20 19:34:09 UTC
1.2.02014-09-25 04:46:01 UTC
1.1.12013-09-16 08:13:48 UTC
1.1.02013-06-01 23:02:01 UTC

显示 10 个版本中最新的 10 个。 JSON

版本兼容性

声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。

运行时最新兼容版本
php 7.43.0.0
php 8.03.0.0
php 8.13.0.0
php 8.23.0.0
php 8.33.0.0
php 8.43.0.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" } } }

智能体技能(SKILL.md):告诉智能体何时使用 Vigia · 用于拉取请求的 GitHub Action

常见问题

hamcrest/hamcrest-php 的最新版本是什么?

hamcrest/hamcrest-php 的最新稳定版本是 3.0.0,发布于 2026-03-17。Vigia 于 2026-10-08 核实。

如何安装 hamcrest/hamcrest-php 的最新版本?

运行 composer require hamcrest/hamcrest-php。最新稳定版本是 3.0.0(2026-10-08 核实)。

hamcrest/hamcrest-php 是否已弃用?

否。注册表中 hamcrest/hamcrest-php 未被标记为已弃用。

hamcrest/hamcrest-php 需要哪个版本的 PHP?

hamcrest/hamcrest-php 3.0.0 声明的要求为:PHP ^7.4 || ^8.0。

hamcrest/hamcrest-php 3.0.0 是否存在已知漏洞?

根据 Vigia 检查的数据,没有已知安全公告影响 hamcrest/hamcrest-php 3.0.0。

hamcrest/hamcrest-php 是否仍在维护?

hamcrest/hamcrest-php 在过去 12 个月内发布了 1 个稳定版本,最近一次在 205 天前。活跃度:放缓。

观察到的变更

自 Vigia 开始跟踪此软件包以来,尚未观察到变更。

相关软件包

用于 README 的徽章

展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:

[![version](https://vigia.coredls.cloud/badge/packagist/hamcrest/hamcrest-php/version.svg)](https://vigia.coredls.cloud/packagist/hamcrest/hamcrest-php)
[![maintained](https://vigia.coredls.cloud/badge/packagist/hamcrest/hamcrest-php/maintained.svg)](https://vigia.coredls.cloud/packagist/hamcrest/hamcrest-php)
[![status](https://vigia.coredls.cloud/badge/packagist/hamcrest/hamcrest-php/status.svg)](https://vigia.coredls.cloud/packagist/hamcrest/hamcrest-php)

供智能体使用

GET https://vigia.coredls.cloud/v1/packages/packagist/hamcrest/hamcrest-php
GET https://vigia.coredls.cloud/v1/packages/packagist/hamcrest/hamcrest-php/versions/{version}