Packagist · packagist:hamcrest/hamcrest-php
hamcrest/hamcrest-php active
This is the PHP port of Hamcrest Matchers
| Latest stable version | 3.0.0 |
|---|---|
| Published | 2026-03-17 11:56:53+00:00 |
| Install | composer require hamcrest/hamcrest-php |
| Required PHP version (composer.json) | PHP ^7.4 || ^8.0 |
| License | BSD-3-Clause |
| Advisories on latest version | none known |
| Last verified | 2026-10-08 19:59:34 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2026-03-17 11:56:53 UTC · 205 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 10 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.0.0 | 2026-03-17 11:56:53 UTC |
2.1.1 | 2025-04-30 06:54:44 UTC |
2.1.0 | 2025-04-29 18:09:42 UTC |
2.0.1 | 2020-07-09 08:09:16 UTC |
2.0.0 | 2016-01-20 08:20:44 UTC |
1.2.2 | 2015-05-11 14:41:42 UTC |
1.2.1 | 2015-01-20 19:34:09 UTC |
1.2.0 | 2014-09-25 04:46:01 UTC |
1.1.1 | 2013-09-16 08:13:48 UTC |
1.1.0 | 2013-06-01 23:02:01 UTC |
Showing the 10 most recent of 10 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 | 3.0.0 |
php 8.0 | 3.0.0 |
php 8.1 | 3.0.0 |
php 8.2 | 3.0.0 |
php 8.3 | 3.0.0 |
php 8.4 | 3.0.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 hamcrest/hamcrest-php?
The latest stable version of hamcrest/hamcrest-php is 3.0.0, published on 2026-03-17. Verified by Vigia on 2026-10-08.
How do I install the latest version of hamcrest/hamcrest-php?
Run composer require hamcrest/hamcrest-php. The latest stable version is 3.0.0 (verified 2026-10-08).
Is hamcrest/hamcrest-php deprecated?
No. hamcrest/hamcrest-php is not marked as deprecated in the registry.
Which PHP version does hamcrest/hamcrest-php require?
hamcrest/hamcrest-php 3.0.0 declares this requirement: PHP ^7.4 || ^8.0.
Does hamcrest/hamcrest-php 3.0.0 have known vulnerabilities?
No known advisories affect hamcrest/hamcrest-php 3.0.0 according to the data Vigia checks.
Is hamcrest/hamcrest-php still maintained?
hamcrest/hamcrest-php published 1 stable releases in the last 12 months; the most recent was 205 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- symfony/options-resolver
- mockery/mockery
- aws/aws-crt-php
- sebastian/code-unit-reverse-lookup
- phpdocumentor/reflection-docblock
- phpstan/phpstan
- sebastian/code-unit
- staabm/side-effects-detector
- paragonie/random_compat
- mtdowling/jmespath.php
- filp/whoops
- aws/aws-sdk-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/hamcrest/hamcrest-php) [](https://vigia.coredls.cloud/packagist/hamcrest/hamcrest-php) [](https://vigia.coredls.cloud/packagist/hamcrest/hamcrest-php)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/hamcrest/hamcrest-php
GET https://vigia.coredls.cloud/v1/packages/packagist/hamcrest/hamcrest-php/versions/{version}