{"id":25176004,"url":"https://github.com/dg/rss-php","last_synced_at":"2025-10-05T01:16:06.810Z","repository":{"id":41300882,"uuid":"501254","full_name":"dg/rss-php","owner":"dg","description":"Small and easy-to-use library for consuming RSS and Atom feeds","archived":false,"fork":false,"pushed_at":"2024-06-27T19:01:12.000Z","size":38,"stargazers_count":477,"open_issues_count":7,"forks_count":146,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-05-29T06:55:29.819Z","etag":null,"topics":["php","rss"],"latest_commit_sha":null,"homepage":"https://nette.org","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dg.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/funding.yml","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},"funding":{"github":"dg","custom":"https://nette.org/make-donation?to=rss-php"}},"created_at":"2010-02-03T20:31:25.000Z","updated_at":"2025-05-14T21:35:17.000Z","dependencies_parsed_at":"2024-06-18T11:07:58.087Z","dependency_job_id":"9aa9516a-77cb-4aaf-ac1b-ef552abbe43f","html_url":"https://github.com/dg/rss-php","commit_stats":{"total_commits":42,"total_committers":15,"mean_commits":2.8,"dds":"0.33333333333333337","last_synced_commit":"c500a3d9d88ec1bf4b80b8e6843acdcb3779119c"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/dg/rss-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dg%2Frss-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dg%2Frss-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dg%2Frss-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dg%2Frss-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dg","download_url":"https://codeload.github.com/dg/rss-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dg%2Frss-php/sbom","scorecard":{"id":339329,"data":{"date":"2025-08-11","repo":{"name":"github.com/dg/rss-php","commit":"c500a3d9d88ec1bf4b80b8e6843acdcb3779119c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Code-Review","score":2,"reason":"Found 6/30 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license.md:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: license.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T05:25:25.758Z","repository_id":41300882,"created_at":"2025-08-18T05:25:25.758Z","updated_at":"2025-08-18T05:25:25.758Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278398020,"owners_count":25980096,"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-10-04T02:00:05.491Z","response_time":63,"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","rss"],"created_at":"2025-02-09T13:15:38.874Z","updated_at":"2025-10-05T01:16:06.789Z","avatar_url":"https://github.com/dg.png","language":"PHP","funding_links":["https://github.com/sponsors/dg","https://nette.org/make-donation?to=rss-php"],"categories":[],"sub_categories":[],"readme":"RSS \u0026 Atom Feeds for PHP\n========================\n\n[![Downloads this Month](https://img.shields.io/packagist/dm/dg/rss-php.svg)](https://packagist.org/packages/dg/rss-php)\n[![Latest Stable Version](https://poser.pugx.org/dg/rss-php/v/stable)](https://github.com/dg/rss-php/releases)\n[![License](https://img.shields.io/badge/license-New%20BSD-blue.svg)](https://github.com/dg/rss-php/blob/master/license.md)\n\nRSS \u0026 Atom Feeds for PHP is a very small and easy-to-use library for consuming an RSS and Atom feeds.\n\nIt requires PHP 5.3 or newer with CURL extension or enabled allow_url_fopen\nand is licensed under the New BSD License. You can obtain the latest version from\nour [GitHub repository](https://github.com/dg/rss-php/releases) or install it via Composer:\n\n```\ncomposer require dg/rss-php\n```\n\n[Support Me](https://github.com/sponsors/dg)\n--------------------------------------------\n\nDo you like RSS? Are you looking forward to the new features?\n\n[![Buy me a coffee](https://files.nette.org/icons/donation-3.svg)](https://github.com/sponsors/dg)\n\nThank you!\n\n\nUsage\n-----\n\nDownload RSS feed from URL:\n\n```php\n$rss = Feed::loadRss($url);\n```\n\nThe returned properties are SimpleXMLElement objects. Extracting\nthe information from the channel is easy:\n\n```php\necho 'Title: ', $rss-\u003etitle;\necho 'Description: ', $rss-\u003edescription;\necho 'Link: ', $rss-\u003eurl;\n\nforeach ($rss-\u003eitem as $item) {\n\techo 'Title: ', $item-\u003etitle;\n\techo 'Link: ', $item-\u003eurl;\n\techo 'Timestamp: ', $item-\u003etimestamp;\n\techo 'Description ', $item-\u003edescription;\n\techo 'HTML encoded content: ', $item-\u003e{'content:encoded'};\n}\n```\n\nDownload Atom feed from URL:\n\n```php\n$atom = Feed::loadAtom($url);\n```\n\nYou can also enable caching:\n\n```php\nFeed::$cacheDir = __DIR__ . '/tmp';\nFeed::$cacheExpire = '5 hours';\n```\n\nYou can setup a User-Agent if needed:\n\n```php\nFeed::$userAgent = \"FeedFetcher-Google; (+http://www.google.com/feedfetcher.html)\";\n```\n\nIf you like it, **[please make a donation now](https://nette.org/make-donation?to=rss-php)**. Thank you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdg%2Frss-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdg%2Frss-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdg%2Frss-php/lists"}