{"id":15984921,"url":"https://github.com/divineomega/php-reading-time","last_synced_at":"2025-03-17T15:32:12.071Z","repository":{"id":56969738,"uuid":"128542116","full_name":"DivineOmega/php-reading-time","owner":"DivineOmega","description":"⏱ Calculates reading time for text","archived":false,"fork":false,"pushed_at":"2020-03-26T18:20:50.000Z","size":16,"stargazers_count":17,"open_issues_count":3,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-02T01:50:15.236Z","etag":null,"topics":["php-library","reading","reading-time","time"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DivineOmega.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-04-07T15:32:02.000Z","updated_at":"2024-01-18T16:14:43.000Z","dependencies_parsed_at":"2022-08-21T10:50:42.123Z","dependency_job_id":null,"html_url":"https://github.com/DivineOmega/php-reading-time","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DivineOmega%2Fphp-reading-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DivineOmega%2Fphp-reading-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DivineOmega%2Fphp-reading-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DivineOmega%2Fphp-reading-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DivineOmega","download_url":"https://codeload.github.com/DivineOmega/php-reading-time/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243869424,"owners_count":20361014,"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":["php-library","reading","reading-time","time"],"created_at":"2024-10-08T02:11:21.953Z","updated_at":"2025-03-17T15:32:11.744Z","avatar_url":"https://github.com/DivineOmega.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⏱ PHP Reading Time\n\n[![Build Status](https://travis-ci.org/DivineOmega/php-reading-time.svg?branch=master)](https://travis-ci.org/DivineOmega/php-reading-time)\n[![Coverage Status](https://coveralls.io/repos/github/DivineOmega/php-reading-time/badge.svg?branch=master)](https://coveralls.io/github/DivineOmega/php-reading-time?branch=master)\n[![StyleCI](https://styleci.io/repos/128542116/shield?branch=master)](https://styleci.io/repos/128542116)\n\nThis PHP library lets you easily calculate the reading time for a piece of text.\n\n## Installation\n\nYou can install PHP Reading Time using Composer, as follows.\n\n```\ncomposer require divineomega/php-reading-time\n```\n\n## Usage\n\nThe following examples show how you can use PHP Reading Time to calculate the reading time in minutes\nor seconds. You can also set a reading speed in words per minute (default: 200 wpm).\n\n```php\n$readingTime = new ReadingTime($text);\n\n$readingTime-\u003eseconds();\n$readingTime-\u003eminutes();\n\n$readingTime-\u003esetWordsPerMinute(240)-\u003eminutes();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivineomega%2Fphp-reading-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivineomega%2Fphp-reading-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivineomega%2Fphp-reading-time/lists"}