{"id":20551928,"url":"https://github.com/isigar/xmlparser","last_synced_at":"2026-04-16T11:03:29.249Z","repository":{"id":57047002,"uuid":"138723543","full_name":"Isigar/xmlparser","owner":"Isigar","description":"Nette XML parser, heureka parser","archived":false,"fork":false,"pushed_at":"2018-09-12T08:52:54.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T22:40:55.758Z","etag":null,"topics":["heureka","nette","nette-extension","xml-parser"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Isigar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-26T10:39:23.000Z","updated_at":"2018-09-12T08:51:24.000Z","dependencies_parsed_at":"2022-08-23T19:00:15.504Z","dependency_job_id":null,"html_url":"https://github.com/Isigar/xmlparser","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Isigar/xmlparser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Isigar%2Fxmlparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Isigar%2Fxmlparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Isigar%2Fxmlparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Isigar%2Fxmlparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Isigar","download_url":"https://codeload.github.com/Isigar/xmlparser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Isigar%2Fxmlparser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266210928,"owners_count":23893343,"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":["heureka","nette","nette-extension","xml-parser"],"created_at":"2024-11-16T02:34:31.794Z","updated_at":"2026-04-16T11:03:29.212Z","avatar_url":"https://github.com/Isigar.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xmlparser\nNette XML parser, heureka parser\n\n### Setup\n```\ncomposer require relisoft/xmlparser\n```\n\n\n\u003e config.neon\n```\nextensions:\n    xmlparse: Relisoft\\XMLParser\\DI\\XMLParserExtension\n```\n\n### Heureka parse example\n\u003e any presenter you want\n\n```\n/**\n* @var Heureka\n* @inject\n*/\npublic $heureka;\n\npublic function actionDefault(){\n    $heureka = $this-\u003eheureka;\n    $data = $heureka-\u003edecode(FileSystem::read('https://.../feed_heureka.xml'),'xml');\n    $heureka-\u003eassociateData($data);\n    $data = $heureka-\u003egetData();\n    Debugger::barDump($data,\"Data\");\n}\n```\n\n#### Return:\n```\n0 =\u003e Relisoft\\XMLParser\\Entity\\HeurekaProduct #9e27\n  id private =\u003e \"1\"\n  productname private =\u003e \"Swardman Edwin Standard 55\" (26)\n  product private =\u003e \"Swardman Edwin Standard 55\" (26)\n  description private =\u003e \"Benzínová zahradní vřetenová sekačka s pojezdem. \n Sekačka má záběr sečení 55 cm.\n Vhodná pro trávníky s plochou do 2000 m2.\" (139)\n  categorytext private =\u003e \"Heureka.cz | Dům a zahrada | Zahrada | Sekačky\" (48)\n  url private =\u003e \"https://www.swardman.com/cz/e-shop/edwin-standard-55/edwin-standard-55/\" (71)\n  img private =\u003e \"https://www.swardman.com/obj/files/7/sys_media_5769.png\" (55)\n  price_vat private =\u003e \"39999\" (5)\n  delivery_date private =\u003e \"0\"\n```\n\n#### Functions:\n```\n$heureka-\u003edecode(XML INPUT, FILE TYPE = XML)\n```\n\u003e Decoded heureka xml input to array\n\n```\n$heureka-\u003eassociateData(DATA FROM DECODE FUNC)\n```\n\u003e Associate decoded data to heureka product classes\n\n\n```\n$heureka-\u003egetData()\n```\n\u003e Get data from associate function\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisigar%2Fxmlparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisigar%2Fxmlparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisigar%2Fxmlparser/lists"}