Packagist · packagist:sanmai/duoclock
sanmai/duoclock active
PHP time mocking for tests - PSR-20 clock with mockable sleep(), time(), and TimeSpy for PHPUnit testing
| Latest stable version | 0.1.3 |
|---|---|
| Published | 2025-12-26 06:12:34+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-10-09 03:01:01 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2025-12-26 06:12:34 UTC · 286 days ago |
| Stable releases in the last 12 months | 2 |
| Published versions | 4 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
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 4 most recent of 4 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.3 |
php 8.3 | 0.1.3 |
php 8.4 | 0.1.3 |
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.3, published on 2025-12-26. Verified by Vigia on 2026-10-09.
How do I install the latest version of sanmai/duoclock?
Run composer require sanmai/duoclock. The latest stable version is 0.1.3 (verified 2026-10-09).
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.3 declares this requirement: PHP >=8.2.
Does sanmai/duoclock 0.1.3 have known vulnerabilities?
No known advisories affect sanmai/duoclock 0.1.3 according to the data Vigia checks.
Is sanmai/duoclock still maintained?
sanmai/duoclock published 2 stable releases in the last 12 months; the most recent was 286 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- sanmai/di-container
- consolidation/config
- grasmash/expander
- consolidation/log
- szepeviktor/phpstan-wordpress
- laminas/laminas-servicemanager
- consolidation/annotated-command
- picqer/php-barcode-generator
- consolidation/robo
- consolidation/output-formatters
- mustangostang/spyc
- symplify/rule-doc-generator-contracts
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}