{"id":15201754,"url":"https://github.com/gbuckingham89/youtube-rss-parser","last_synced_at":"2025-10-02T17:30:56.758Z","repository":{"id":53810145,"uuid":"89511785","full_name":"gbuckingham89/youtube-rss-parser","owner":"gbuckingham89","description":"A simple parser for reading a YouTube RSS feed.","archived":true,"fork":false,"pushed_at":"2021-03-12T11:07:09.000Z","size":13,"stargazers_count":22,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-28T11:32:37.368Z","etag":null,"topics":["php","php-library","php-youtube-api","rss","rss-feed-parser","rss-feed-scraper","rss-reader","youtube","youtube-api","youtube-channel"],"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/gbuckingham89.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-04-26T18:04:32.000Z","updated_at":"2023-06-06T10:20:10.000Z","dependencies_parsed_at":"2022-08-21T17:00:35.149Z","dependency_job_id":null,"html_url":"https://github.com/gbuckingham89/youtube-rss-parser","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/gbuckingham89/youtube-rss-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbuckingham89%2Fyoutube-rss-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbuckingham89%2Fyoutube-rss-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbuckingham89%2Fyoutube-rss-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbuckingham89%2Fyoutube-rss-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gbuckingham89","download_url":"https://codeload.github.com/gbuckingham89/youtube-rss-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbuckingham89%2Fyoutube-rss-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277617159,"owners_count":25848271,"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-09-29T02:00:09.175Z","response_time":84,"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","php-library","php-youtube-api","rss","rss-feed-parser","rss-feed-scraper","rss-reader","youtube","youtube-api","youtube-channel"],"created_at":"2024-09-28T03:22:21.909Z","updated_at":"2025-10-02T17:30:56.476Z","avatar_url":"https://github.com/gbuckingham89.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gbuckingham89/youtube-rss-parser\n\nA simple PHP parser for reading a YouTube RSS feed. It provides a object oriented interface for accessing the RSS feed data. Perfect for when you need to access recent videos, but don't want to use the full YouTube API.\n\n## Requirements\n\nRequires PHP 7.1.8 or greater. Uses *guzzlehttp/guzzle* as a HTTP client and *nesbot/carbon* for handling dates. See `composer.json` for more details.\n\nIf you require support for an older PHP version (\u003e=5.5), see [release v0.1.0](https://github.com/gbuckingham89/youtube-rss-parser/tree/v0.1.0).\n\n## Installation\n\nUse [Composer](http://getcomposer.org):\n\n\tcomposer require gbuckingham89/youtube-rss-parser\n\n## Usage\n\nTo get started you'll need to create an instance of the parser;\n\n    $parser = new \\Gbuckingham89\\YouTubeRSSParser\\Parser();\n\nYou can then load the RSS feed from a URL:\n\n    $rss_url = 'https://www.youtube.com/feeds/videos.xml?channel_id=CHANNEL_ID_HERE';\n    $parser-\u003eloadUrl($rss_url);\n\nOr, if you're in a hurry, you can also pass in the URL as the first argument when you instantiate the parser object.\n\nOr if you've already got the XML of RSS feed content as a string, you can load it via that:\n\n    $rss_content = 'RSS FEED CONTENT';\n    $parser-\u003eloadString($rss_content);\n\nBoth of these methods then return an instance of `\\Gbuckingham89\\YouTubeRSSParser\\Channel`. You can also access the `channel` property or call the `channel` method on the `Parser` instance to get the `Channel` object.\n\nYou can then access the properties of the channel (see the class file). The `videos` property is an array of `\\Gbuckingham89\\YouTubeRSSParser\\Video` objects, on which you can access the properties of the video (see the class file).\n\nPrefer working with arrays? Or JSON? You can simply call the `toArray` or `toJson` on both the `Channel` and `Videos` objects.\n\n## Contributing / bugs\n\nJust open an issue / pull request if you find a bug, or want to contribute!\n\n## Copyright and license\n\nCode and documentation copyright 2017 [George Buckingham](https://www.georgebuckingham.com). Code released under the [MIT License](https://github.com/gbuckingham89/eloquent-uuid/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbuckingham89%2Fyoutube-rss-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgbuckingham89%2Fyoutube-rss-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbuckingham89%2Fyoutube-rss-parser/lists"}