{"id":15296167,"url":"https://github.com/andreasnij/a-timer","last_synced_at":"2025-08-25T15:07:05.403Z","repository":{"id":56947793,"uuid":"45792755","full_name":"andreasnij/a-timer","owner":"andreasnij","description":"A simple PHP timer to time/benchmark operations with a short human-readable result.","archived":false,"fork":false,"pushed_at":"2024-03-29T13:25:38.000Z","size":16,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-15T22:04:04.424Z","etag":null,"topics":["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/andreasnij.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2015-11-08T18:21:50.000Z","updated_at":"2022-01-20T08:08:44.000Z","dependencies_parsed_at":"2024-10-15T01:21:16.931Z","dependency_job_id":null,"html_url":"https://github.com/andreasnij/a-timer","commit_stats":{"total_commits":11,"total_committers":3,"mean_commits":"3.6666666666666665","dds":0.4545454545454546,"last_synced_commit":"efa78625ae3b8402b00e6f23dbb3a1d442ba7f02"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/andreasnij/a-timer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasnij%2Fa-timer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasnij%2Fa-timer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasnij%2Fa-timer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasnij%2Fa-timer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreasnij","download_url":"https://codeload.github.com/andreasnij/a-timer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasnij%2Fa-timer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272084830,"owners_count":24870584,"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-08-25T02:00:12.092Z","response_time":1107,"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":["php","timer"],"created_at":"2024-09-30T18:09:38.146Z","updated_at":"2025-08-25T15:07:05.356Z","avatar_url":"https://github.com/andreasnij.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Timer\n\n[![Latest Stable Version](https://poser.pugx.org/andreasnij/a-timer/v/stable)](https://packagist.org/packages/andreasnij/a-timer)\n\nA simple timer to time/benchmark operations with a short human-readable result.\n\n## Installation\nAdd the package as a requirement to your `composer.json`:\n```bash\n$ composer require andreasnij/a-timer\n```\n\n## Usage\n```php\nuse ATimer\\Timer;\n\n$timer = new Timer();\n\n// Some operations that take time\necho $timer-\u003egetDurationFormatted();\n\n// Example output: 1.237s\n```\n\n## Author\nAndreas Nilsson (\u003chttps://github.com/andreasnij\u003e)\n\n## License\nLicensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasnij%2Fa-timer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreasnij%2Fa-timer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasnij%2Fa-timer/lists"}