{"id":18766331,"url":"https://github.com/navarr/precise-clocks","last_synced_at":"2025-08-02T08:04:45.669Z","repository":{"id":45381458,"uuid":"400957604","full_name":"navarr/precise-clocks","owner":"navarr","description":"Specified Precision Clocks (PSR-20)","archived":false,"fork":false,"pushed_at":"2022-11-26T19:07:47.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-20T21:38:19.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/navarr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-29T05:20:34.000Z","updated_at":"2023-11-18T22:46:43.000Z","dependencies_parsed_at":"2022-09-19T08:51:38.044Z","dependency_job_id":null,"html_url":"https://github.com/navarr/precise-clocks","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/navarr/precise-clocks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navarr%2Fprecise-clocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navarr%2Fprecise-clocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navarr%2Fprecise-clocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navarr%2Fprecise-clocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/navarr","download_url":"https://codeload.github.com/navarr/precise-clocks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navarr%2Fprecise-clocks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267320254,"owners_count":24068527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T18:40:19.074Z","updated_at":"2025-08-02T08:04:45.639Z","avatar_url":"https://github.com/navarr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Specified Precision Clocks (PSR-20)\n[![Latest Stable Version](http://poser.pugx.org/navarr/precise-clocks/v)](https://packagist.org/packages/navarr/precise-clocks)\n[![Total Downloads](http://poser.pugx.org/navarr/precise-clocks/downloads)](https://packagist.org/packages/navarr/precise-clocks)\n[![Latest Unstable Version](http://poser.pugx.org/navarr/precise-clocks/v/unstable)](https://packagist.org/packages/navarr/precise-clocks)\n[![License](http://poser.pugx.org/navarr/precise-clocks/license)](https://packagist.org/packages/navarr/precise-clocks)  \n![Tests](https://github.com/navarr/precise-clocks/actions/workflows/commit.yml/badge.svg)\n![Code Coverage](https://codecov.io/gh/navarr/precise-clocks/branch/main/graph/badge.svg?token=BHTKOZZDR3)\n[![Mutation score](https://img.shields.io/endpoint?style=flat\u0026url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fnavarr%2Fprecise-clocks%2Fmain)](https://dashboard.stryker-mutator.io/reports/github.com/navarr/precise-clocks/main)\n\nThis library contains implementations of PSR-20 that provides a clocks that are precise to their namesake, and while in the same time to that precision, return the exact same object.\n\n## Installation\n\n    composer require navarr/precise-clocks:^1\n\n## Usage\n\n```php\nuse Navarr\\PreciseClock\\MinutePrecisionClock;\n\n$clock = new MinutePrecisionClock();\n$a = $clock-\u003enow();\n$b = $clock-\u003enow();\n\nspl_object_id($a) === spl_object_id($b); // true\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavarr%2Fprecise-clocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnavarr%2Fprecise-clocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavarr%2Fprecise-clocks/lists"}