{"id":21294399,"url":"https://github.com/carno-php/timer","last_synced_at":"2025-10-12T15:47:23.178Z","repository":{"id":62499813,"uuid":"144833445","full_name":"carno-php/timer","owner":"carno-php","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-17T08:09:09.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-04T19:40:39.124Z","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/carno-php.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":"2018-08-15T09:27:13.000Z","updated_at":"2018-08-21T14:57:38.000Z","dependencies_parsed_at":"2022-11-02T11:47:28.000Z","dependency_job_id":null,"html_url":"https://github.com/carno-php/timer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/carno-php/timer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carno-php%2Ftimer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carno-php%2Ftimer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carno-php%2Ftimer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carno-php%2Ftimer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carno-php","download_url":"https://codeload.github.com/carno-php/timer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carno-php%2Ftimer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279011862,"owners_count":26085005,"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-10-12T02:00:06.719Z","response_time":53,"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-21T13:59:07.127Z","updated_at":"2025-10-12T15:47:23.157Z","avatar_url":"https://github.com/carno-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Timer - component of carno-php\n\n# Installation\n\n```bash\ncomposer require carno-php/timer\n```\n\n# Usages\n\n```php\n$id = Timer::loop(10, function () {\n    echo 'triggering every 10ms', PHP_EOL;\n});\nTimer::after(500, function () use ($id) {\n    echo 'trigger once after 500ms', PHP_EOL;\n    echo 'and clear previous created loop timer', PHP_EOL;\n    Timer::clear($id);\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarno-php%2Ftimer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarno-php%2Ftimer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarno-php%2Ftimer/lists"}