{"id":37262684,"url":"https://github.com/chrisullyott/php-xml","last_synced_at":"2026-01-15T23:22:45.846Z","repository":{"id":56952580,"uuid":"126552975","full_name":"chrisullyott/php-xml","owner":"chrisullyott","description":"XML-to-array conversion in PHP.","archived":false,"fork":false,"pushed_at":"2019-12-30T16:04:10.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T14:48:48.248Z","etag":null,"topics":["php","rss","xml"],"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/chrisullyott.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-03-24T00:50:23.000Z","updated_at":"2023-01-30T12:04:51.000Z","dependencies_parsed_at":"2022-08-21T08:20:26.106Z","dependency_job_id":null,"html_url":"https://github.com/chrisullyott/php-xml","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/chrisullyott/php-xml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisullyott%2Fphp-xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisullyott%2Fphp-xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisullyott%2Fphp-xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisullyott%2Fphp-xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisullyott","download_url":"https://codeload.github.com/chrisullyott/php-xml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisullyott%2Fphp-xml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28419261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","xml"],"created_at":"2026-01-15T23:22:45.404Z","updated_at":"2026-01-15T23:22:45.840Z","avatar_url":"https://github.com/chrisullyott.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-xml\n\nXML-to-array conversion in PHP. Built for pulling items from a variety of RSS feeds.\n\n### Installation\n\nWith [Composer](https://getcomposer.org/):\n\n```bash\n$ composer require chrisullyott/php-xml\n```\n\n### Usage\n\n```php\nuse ChrisUllyott\\XmlParser;\n\n$parser = new XmlParser('path/to/feed.xml'); // or pass in a raw XML string\n\n$items = $parser-\u003egetItems();\n\nprint_r($items);\n```\n\nEach feed item and their child attributes are parsed into a flat structure:\n\n```\n(\n    [0] =\u003e Array\n        (\n            [title] =\u003e News for September the Second\n            [link] =\u003e http://example.com/2002/09/01/news-for-september-the-second\n            [guid] =\u003e 20020901-news-for-september-the-second\n            [guid_isPermaLink] =\u003e 0\n            [description] =\u003e Things happened today!\n        )\n\n    [1] =\u003e Array\n        (\n            [title] =\u003e News for September the First\n            [link] =\u003e http://example.com/2002/09/01/news-for-september-the-first\n            [guid] =\u003e 20020901-news-for-september-the-first\n            [guid_isPermaLink] =\u003e 0\n            [description] =\u003e Things happened today!\n        )\n\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisullyott%2Fphp-xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisullyott%2Fphp-xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisullyott%2Fphp-xml/lists"}