Packagist · packagist:sanmai/duoclock
sanmai/duoclock active
PHP time mocking for tests - PSR-20 clock with mockable sleep(), time(), and TimeSpy for PHPUnit testing
The latest stable version of sanmai/duoclock is 0.1.5, published on 2026-11-17. Verified by Vigia on 2026-11-27.
| Latest stable version | 0.1.5 |
|---|---|
| Published | 2026-11-17 23:41:42+00:00 |
| Install | composer require sanmai/duoclock |
| Required PHP version (composer.json) | PHP >=8.2 |
| License | Apache-2.0 |
| Advisories on latest version | none known |
| Last verified | 2026-11-27 03:20:32 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-11-17 23:41:42 UTC · 9 days ago |
| Stable releases in the last 12 months | 4 |
| Published versions | 6 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
0.1.5 | 2026-11-17 23:41:42 UTC |
0.1.4 | 2026-11-06 08:04:12 UTC |
0.1.3 | 2025-12-26 06:12:34 UTC |
0.1.2 | 2025-12-26 05:54:29 UTC |
0.1.1 | 2025-07-28 02:17:28 UTC |
0.1.0 | 2025-07-12 08:35:17 UTC |
Showing the 6 most recent of 6 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 | none |
php 8.0 | none |
php 8.1 | none |
php 8.2 | 0.1.5 |
php 8.3 | 0.1.5 |
php 8.4 | 0.1.5 |
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 sanmai/duoclock?
The latest stable version of sanmai/duoclock is 0.1.5, published on 2026-11-17. Verified by Vigia on 2026-11-27.
How do I install the latest version of sanmai/duoclock?
Run composer require sanmai/duoclock. The latest stable version is 0.1.5 (verified 2026-11-27).
Is sanmai/duoclock deprecated?
No. sanmai/duoclock is not marked as deprecated in the registry.
Which PHP version does sanmai/duoclock require?
sanmai/duoclock 0.1.5 declares this requirement: PHP >=8.2.
Does sanmai/duoclock 0.1.5 have known vulnerabilities?
No known advisories affect sanmai/duoclock 0.1.5 according to the data Vigia checks.
Is sanmai/duoclock still maintained?
sanmai/duoclock published 4 stable releases in the last 12 months; the most recent was 9 days ago. Activity: active.
Observed changes
- Wed Nov 18 2026 03:19:59 GM +0000 (Coordinated Universal Time) — released 0.1.4 → 0.1.5
- Fri Nov 06 2026 15:19:22 GM +0000 (Coordinated Universal Time) — released 0.1.3 → 0.1.4
Related packages
- illuminate/container
- consolidation/annotated-command
- lexik/jwt-authentication-bundle
- consolidation/robo
- consolidation/output-formatters
- phpspec/prophecy-phpunit
- codeception/codeception
- spatie/enum
- codeception/stub
- starkbank/ecdsa
- mustangostang/spyc
- consolidation/log
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/sanmai/duoclock) [](https://vigia.coredls.cloud/packagist/sanmai/duoclock) [](https://vigia.coredls.cloud/packagist/sanmai/duoclock)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/sanmai/duoclock
GET https://vigia.coredls.cloud/v1/packages/packagist/sanmai/duoclock/versions/{version}