Packagist · packagist:slope-it/clock-mock
slope-it/clock-mock active
A library for mocking current date and time in tests.
| Latest stable version | 0.5.0 |
|---|---|
| Published | 2025-03-24 15:37:14+00:00 |
| Install | composer require slope-it/clock-mock |
| Required PHP version (composer.json) | PHP >=8.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-10-10 03:08:27 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2025-03-24 15:37:14 UTC · 564 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 15 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
0.5.0 | 2025-03-24 15:37:14 UTC |
0.4.0 | 2023-08-21 12:01:30 UTC |
0.3.8 | 2023-05-19 13:07:29 UTC |
0.3.7 | 2023-05-19 10:11:08 UTC |
0.3.6 | 2023-04-05 07:57:47 UTC |
0.3.5 | 2023-02-09 11:48:42 UTC |
0.3.4 | 2022-11-22 23:00:22 UTC |
0.3.3 | 2022-10-14 13:41:08 UTC |
0.3.2 | 2022-08-08 12:18:54 UTC |
0.3.1 | 2022-06-20 09:13:11 UTC |
0.3.0 | 2022-05-29 13:55:35 UTC |
0.2.2 | 2022-04-04 12:37:27 UTC |
0.2.1 | 2022-03-25 12:01:17 UTC |
0.2.0 | 2021-05-24 20:37:09 UTC |
0.1.0 | 2021-05-23 20:47:31 UTC |
Showing the 15 most recent of 15 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 | 0.4.0 |
php 8.0 | 0.5.0 |
php 8.1 | 0.5.0 |
php 8.2 | 0.5.0 |
php 8.3 | 0.5.0 |
php 8.4 | 0.5.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 slope-it/clock-mock?
The latest stable version of slope-it/clock-mock is 0.5.0, published on 2025-03-24. Verified by Vigia on 2026-10-10.
How do I install the latest version of slope-it/clock-mock?
Run composer require slope-it/clock-mock. The latest stable version is 0.5.0 (verified 2026-10-10).
Is slope-it/clock-mock deprecated?
No. slope-it/clock-mock is not marked as deprecated in the registry.
Which PHP version does slope-it/clock-mock require?
slope-it/clock-mock 0.5.0 declares this requirement: PHP >=8.0.0.
Does slope-it/clock-mock 0.5.0 have known vulnerabilities?
No known advisories affect slope-it/clock-mock 0.5.0 according to the data Vigia checks.
Is slope-it/clock-mock still maintained?
slope-it/clock-mock published 0 stable releases in the last 12 months; the most recent was 564 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- pixelandtonic/imagine
- lucascudo/laravel-pt-br-localization
- phar-io/filesystem
- phar-io/composer-distributor
- liip/functional-test-bundle
- phar-io/executor
- helgesverre/toon
- phar-io/gnupg
- easypost/easypost-php
- php-standard-library/either-or-both
- yajra/laravel-pdo-via-oci8
- gajus/dindent
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/slope-it/clock-mock) [](https://vigia.coredls.cloud/packagist/slope-it/clock-mock) [](https://vigia.coredls.cloud/packagist/slope-it/clock-mock)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/slope-it/clock-mock
GET https://vigia.coredls.cloud/v1/packages/packagist/slope-it/clock-mock/versions/{version}