{"id":23383766,"url":"https://github.com/mdwheele/sculpin-readtime","last_synced_at":"2025-04-08T09:58:11.682Z","repository":{"id":62526402,"uuid":"104976466","full_name":"mdwheele/sculpin-readtime","owner":"mdwheele","description":null,"archived":false,"fork":false,"pushed_at":"2017-09-27T06:20:40.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T06:52:30.578Z","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/mdwheele.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":"2017-09-27T05:38:48.000Z","updated_at":"2017-09-27T05:39:08.000Z","dependencies_parsed_at":"2022-11-02T14:01:58.924Z","dependency_job_id":null,"html_url":"https://github.com/mdwheele/sculpin-readtime","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdwheele%2Fsculpin-readtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdwheele%2Fsculpin-readtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdwheele%2Fsculpin-readtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdwheele%2Fsculpin-readtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdwheele","download_url":"https://codeload.github.com/mdwheele/sculpin-readtime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247819948,"owners_count":21001394,"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":[],"created_at":"2024-12-21T22:29:50.997Z","updated_at":"2025-04-08T09:58:11.666Z","avatar_url":"https://github.com/mdwheele.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Read Time Bundle for Sculpin\n\nThis [Sculpin](https://sculpin.io/) bundle calculates an estimated read time for posts accessible via a post attribute.\n\n## Installation\n\nAdd `mdwheele/sculpin-readtime` as a requirement to your `sculpin.json` (if using Sculpin as a phar) or `composer.json` (if using Sculpin via Composer).\n\nThen, add the bundle to your `SculpinKernel`. For example:\n\n``` php\n\u003c?php\n\nuse Blog\\Sculpin\\Bundle\\ReadTimeBundle\\BlogSculpinReadTimeBundle;\nuse Sculpin\\Bundle\\SculpinBundle\\HttpKernel\\AbstractKernel;\n\nclass SculpinKernel extends AbstractKernel\n{\n    protected function getAdditionalSculpinBundles()\n    {\n        return [\n            MdwheeleSculpinReadTimeBundle::class\n        ];\n    }\n}\n```\n\n## Usage\n\nRead time is available as a property called `read_time` on the `page` object.\n\n```\n{{ page.read_time }}\n```\n\nFor more information, see the Sculpin [Configuration](https://sculpin.io/documentation/extending-sculpin/configuration/) documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdwheele%2Fsculpin-readtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdwheele%2Fsculpin-readtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdwheele%2Fsculpin-readtime/lists"}