{"id":21467455,"url":"https://github.com/elusivecodes/fyretimer","last_synced_at":"2026-01-27T08:06:56.758Z","repository":{"id":62508436,"uuid":"375295116","full_name":"elusivecodes/FyreTimer","owner":"elusivecodes","description":"FyreTimer is a free, open-source timer library for PHP.","archived":false,"fork":false,"pushed_at":"2024-06-29T01:43:33.000Z","size":86,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-30T03:51:41.561Z","etag":null,"topics":["benchmark","php","timer"],"latest_commit_sha":null,"homepage":"","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/elusivecodes.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-09T09:14:34.000Z","updated_at":"2024-06-30T03:51:41.562Z","dependencies_parsed_at":"2024-10-26T12:34:35.179Z","dependency_job_id":"452da3c7-0e8b-40a1-825f-58f086a4ee75","html_url":"https://github.com/elusivecodes/FyreTimer","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elusivecodes%2FFyreTimer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elusivecodes%2FFyreTimer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elusivecodes%2FFyreTimer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elusivecodes%2FFyreTimer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elusivecodes","download_url":"https://codeload.github.com/elusivecodes/FyreTimer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226017638,"owners_count":17560551,"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","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":["benchmark","php","timer"],"created_at":"2024-11-23T08:18:09.640Z","updated_at":"2026-01-27T08:06:56.721Z","avatar_url":"https://github.com/elusivecodes.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FyreTimer\r\n\r\n**FyreTimer** is a free, open-source timer library for *PHP*.\r\n\r\n\r\n## Table Of Contents\r\n- [Installation](#installation)\r\n- [Basic Usage](#basic-usage)\r\n- [Methods](#methods)\r\n\r\n\r\n\r\n## Installation\r\n\r\n**Using Composer**\r\n\r\n```\r\ncomposer require fyre/timer\r\n```\r\n\r\nIn PHP:\r\n\r\n```php\r\nuse Fyre\\Utility\\Timer;\r\n```\r\n\r\n\r\n## Basic Usage\r\n\r\n```php\r\n$timer = new Timer();\r\n```\r\n\r\n\r\n## Methods\r\n\r\n**All**\r\n\r\nGet all timers.\r\n\r\n```php\r\n$timers = $timer-\u003eall();\r\n```\r\n\r\n**Clear**\r\n\r\nClear all timers.\r\n\r\n```php\r\n$timer-\u003eclear();\r\n```\r\n\r\n**Count**\r\n\r\nGet the number of timers.\r\n\r\n```php\r\n$count = $timer-\u003ecount();\r\n```\r\n\r\n**Elapsed**\r\n\r\nGet the elapsed time for a timer.\r\n\r\n- `$name` is a string representing the timer name.\r\n\r\n```php\r\n$elapsed = $timer-\u003eelapsed($name);\r\n```\r\n\r\n**Get**\r\n\r\nGet a timer.\r\n\r\n- `$name` is a string representing the timer name.\r\n\r\n```php\r\n$data = $timer-\u003eget($name);\r\n```\r\n\r\n**Has**\r\n\r\nCheck if a timer exists.\r\n\r\n- `$name` is a string representing the timer name.\r\n\r\n```php\r\n$hasTimer = $timer-\u003ehas($name);\r\n```\r\n\r\n**Is Stopped**\r\n\r\nDetermine whether a timer is stopped.\r\n\r\n- `$name` is a string representing the timer name.\r\n\r\n```php\r\n$isStopped = $timer-\u003eisStopped($name);\r\n```\r\n\r\n**Remove**\r\n\r\nRemove a timer.\r\n\r\n- `$name` is a string representing the timer name.\r\n\r\n```php\r\n$timer-\u003eremove($name);\r\n```\r\n\r\n**Start**\r\n\r\nStart a timer.\r\n\r\n- `$name` is a string representing the timer name.\r\n\r\n```php\r\n$timer-\u003estart($name);\r\n```\r\n\r\n**Stop**\r\n\r\nStop a timer.\r\n\r\n- `$name` is a string representing the timer name.\r\n\r\n```php\r\n$timer-\u003estop($name);\r\n```\r\n\r\n**Stop All**\r\n\r\nStop all timers.\r\n\r\n```php\r\n$timer-\u003estopAll();\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felusivecodes%2Ffyretimer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felusivecodes%2Ffyretimer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felusivecodes%2Ffyretimer/lists"}