{"id":20443196,"url":"https://github.com/znframework/package-xml","last_synced_at":"2026-02-13T20:08:19.352Z","repository":{"id":57091659,"uuid":"117565940","full_name":"znframework/package-xml","owner":"znframework","description":"ZN Framework XML Package","archived":false,"fork":false,"pushed_at":"2025-01-05T14:14:25.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-01-05T14:38:36.592Z","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/znframework.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-01-15T16:01:01.000Z","updated_at":"2025-01-05T13:55:53.000Z","dependencies_parsed_at":"2022-08-22T20:40:58.369Z","dependency_job_id":null,"html_url":"https://github.com/znframework/package-xml","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znframework%2Fpackage-xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znframework%2Fpackage-xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znframework%2Fpackage-xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znframework%2Fpackage-xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/znframework","download_url":"https://codeload.github.com/znframework/package-xml/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234093170,"owners_count":18778769,"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-11-15T09:46:24.356Z","updated_at":"2025-09-24T15:30:55.120Z","avatar_url":"https://github.com/znframework.png","language":"PHP","readme":"\u003cp align=\"center\"\u003e\n\u003ca href=\"https://packagist.org/packages/znframework/package-xml\" rel=\"nofollow\"\u003e\n\t\u003cimg src=\"https://img.shields.io/packagist/dt/znframework/package-xml?style=flat-square\" style=\"max-width:100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"//packagist.org/packages/znframework/package-xml\" rel=\"nofollow\"\u003e\n\t\u003cimg src=\"https://img.shields.io/github/v/release/znframework/package-xml?style=flat-square\u0026color=00BFFF\" style=\"max-width:100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"//packagist.org/packages/znframework/package-xml\" rel=\"nofollow\"\u003e\n\t\u003cimg src=\"https://img.shields.io/github/release-date/znframework/package-xml?style=flat-square\" style=\"max-width:100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"//packagist.org/packages/znframework/package-xml\" rel=\"nofollow\"\u003e\n\t\u003cimg src=\"https://img.shields.io/github/license/znframework/package-xml?style=flat-square\" style=\"max-width:100%;\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch2\u003eZN Framework XML Package\u003c/h2\u003e\n\u003cp\u003e\nFollow the steps below for installation and use.\n\u003c/p\u003e\n\n\u003ch3\u003eInstallation\u003c/h3\u003e\n\u003cp\u003e\nYou only need to run the following code for the installation.\n\u003c/p\u003e\n\n```\ncomposer require znframework/package-xml\n```\n\n\u003ch3\u003eDocumentation\u003c/h3\u003e\n\u003cp\u003e\nClick for \u003ca href=\"https://docs.znframework.com/veri-bicimlendirme-kutuphaneleri/xml-kutuphanesi\"\u003edocumentation\u003c/a\u003e of your library.\n\u003c/p\u003e\n\n\u003ch3\u003eExample Usage\u003c/h3\u003e\n\u003cp\u003e\nBasic level usage is shown below.\n\u003c/p\u003e\n\n```php\n\u003c?php require 'vendor/autoload.php';\n\nZN\\ZN::run();\n\n$data = XML::build\n([  \n    'name'  =\u003e 'media', \n    'attr'  =\u003e ['id' =\u003e 1], \n    'child' =\u003e \n    [ \n        ['name' =\u003e 'video', 'attr' =\u003e ['id' =\u003e 2], 'content' =\u003e 'Vidyo'], \n        [\n            'name'  =\u003e 'music', \n            'attr'  =\u003e ['id' =\u003e 3], \n            'child' =\u003e \n            [ \n                ['name' =\u003e 'video', 'attr' =\u003e ['id' =\u003e 2], 'content' =\u003e 'Vidyo'], \n                ['name' =\u003e 'video', 'attr' =\u003e ['id' =\u003e 2], 'content' =\u003e 'Vidyo'], \n                ['name' =\u003e 'video', 'attr' =\u003e ['id' =\u003e 2], 'content' =\u003e 'Vidyo'] \n            ]\n        ]\n    ]\n]);\n\nOutput::display($data);\n```\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cmedia id=\"1\"\u003e\n\t\u003cvideo id=\"2\"\u003eVidyo\u003c/video\u003e\n\t\u003cmusic id=\"3\"\u003e\n\t\t\u003cvideo id=\"2\"\u003eVidyo\u003c/video\u003e\n\t\t\u003cvideo id=\"2\"\u003eVidyo\u003c/video\u003e\n\t\t\u003cvideo id=\"2\"\u003eVidyo\u003c/video\u003e\n\t\u003c/music\u003e\n\u003c/media\u003e\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznframework%2Fpackage-xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fznframework%2Fpackage-xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznframework%2Fpackage-xml/lists"}