Packagist · packagist:phpspec/prophecy
phpspec/prophecy active
Highly opinionated mocking framework for PHP 5.3+
| Latest stable version | 1.26.1 |
|---|---|
| Published | 2026-04-13 14:35:16+00:00 |
| Install | composer require phpspec/prophecy |
| Required PHP version (composer.json) | PHP 8.2.* || 8.3.* || 8.4.* || 8.5.* |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-10-08 15:00:28 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-04-13 14:35:16 UTC · 178 days ago |
| Stable releases in the last 12 months | 5 |
| Published versions | 55 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
1.26.1 | 2026-04-13 14:35:16 UTC |
1.26.0 | 2026-02-24 15:40:48 UTC |
1.25.0 | 2026-02-09 11:58:00 UTC |
1.24.0 | 2025-11-21 13:10:52 UTC |
1.23.1 | 2025-10-27 22:44:31 UTC |
1.23.0 | 2025-10-08 08:50:26 UTC |
1.22.0 | 2025-04-29 14:58:06 UTC |
1.21.0 | 2025-04-29 11:13:33 UTC |
1.20.0 | 2024-11-19 13:12:41 UTC |
1.19.0 | 2024-02-29 11:52:51 UTC |
1.18.0 | 2023-12-07 16:22:33 UTC |
1.17.0 | 2023-02-02 15:41:36 UTC |
1.16.0 | 2022-11-29 15:06:56 UTC |
1.15.0 | 2021-12-08 12:19:24 UTC |
1.14.0 | 2021-09-10 09:02:12 UTC |
1.13.0 | 2021-03-17 13:42:18 UTC |
1.12.2 | 2020-12-19 10:15:11 UTC |
1.12.1 | 2020-09-29 09:10:42 UTC |
1.12.0 | 2020-09-28 12:23:07 UTC |
1.11.1 | 2020-07-08 12:44:21 UTC |
Showing the 20 most recent of 53 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 | 1.22.0 |
php 8.0 | 1.22.0 |
php 8.1 | 1.22.0 |
php 8.2 | 1.26.1 |
php 8.3 | 1.26.1 |
php 8.4 | 1.26.1 |
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 phpspec/prophecy?
The latest stable version of phpspec/prophecy is 1.26.1, published on 2026-04-13. Verified by Vigia on 2026-10-08.
How do I install the latest version of phpspec/prophecy?
Run composer require phpspec/prophecy. The latest stable version is 1.26.1 (verified 2026-10-08).
Is phpspec/prophecy deprecated?
No. phpspec/prophecy is not marked as deprecated in the registry.
Which PHP version does phpspec/prophecy require?
phpspec/prophecy 1.26.1 declares this requirement: PHP 8.2.* || 8.3.* || 8.4.* || 8.5.*.
Does phpspec/prophecy 1.26.1 have known vulnerabilities?
No known advisories affect phpspec/prophecy 1.26.1 according to the data Vigia checks.
Is phpspec/prophecy still maintained?
phpspec/prophecy published 5 stable releases in the last 12 months; the most recent was 178 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- php-http/guzzle7-adapter
- symfony/maker-bundle
- myclabs/php-enum
- ondram/ci-detector
- open-telemetry/sem-conv
- laravel/wayfinder
- http-interop/http-factory-guzzle
- php-webdriver/webdriver
- illuminate/contracts
- cweagans/composer-patches
- mpdf/mpdf
- mpdf/psr-log-aware-trait
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/phpspec/prophecy) [](https://vigia.coredls.cloud/packagist/phpspec/prophecy) [](https://vigia.coredls.cloud/packagist/phpspec/prophecy)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/phpspec/prophecy
GET https://vigia.coredls.cloud/v1/packages/packagist/phpspec/prophecy/versions/{version}