{"id":20330737,"url":"https://github.com/chrisyue/php-m3u8","last_synced_at":"2025-04-04T20:14:39.304Z","repository":{"id":56952590,"uuid":"52257600","full_name":"chrisyue/php-m3u8","owner":"chrisyue","description":"An M3U8 parser / dumper in PHP.","archived":false,"fork":false,"pushed_at":"2022-09-14T09:22:40.000Z","size":145,"stargazers_count":152,"open_issues_count":0,"forks_count":38,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-03-28T19:09:55.621Z","etag":null,"topics":["dumper","m3u8","m3u8-parser","parser","php-m3u8"],"latest_commit_sha":null,"homepage":"","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/chrisyue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-22T08:11:24.000Z","updated_at":"2025-01-10T17:11:31.000Z","dependencies_parsed_at":"2022-08-21T08:20:26.219Z","dependency_job_id":null,"html_url":"https://github.com/chrisyue/php-m3u8","commit_stats":null,"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyue%2Fphp-m3u8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyue%2Fphp-m3u8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyue%2Fphp-m3u8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyue%2Fphp-m3u8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisyue","download_url":"https://codeload.github.com/chrisyue/php-m3u8/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247242680,"owners_count":20907134,"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":["dumper","m3u8","m3u8-parser","parser","php-m3u8"],"created_at":"2024-11-14T20:17:29.434Z","updated_at":"2025-04-04T20:14:39.269Z","avatar_url":"https://github.com/chrisyue.png","language":"PHP","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=blizzchris@gmail.com\u0026lc=US\u0026item_name=Donation+for+PHP-M3U8\u0026no_note=0\u0026cn=\u0026currency_code=USD\u0026bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted"],"categories":[],"sub_categories":[],"readme":"PHP M3u8\n========\n\n[![Latest Stable Version](https://poser.pugx.org/chrisyue/php-m3u8/v/stable)](https://packagist.org/packages/chrisyue/php-m3u8)\n[![License](https://poser.pugx.org/chrisyue/php-m3u8/license)](https://packagist.org/packages/chrisyue/php-m3u8)\n[![CI Status](https://github.com/chrisyue/php-m3u8/actions/workflows/ci.yaml/badge.svg)](https://github.com/chrisyue/php-m3u8/actions)\n[![Total Downloads](https://poser.pugx.org/chrisyue/php-m3u8/downloads)](https://packagist.org/packages/chrisyue/php-m3u8)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=blizzchris@gmail.com\u0026lc=US\u0026item_name=Donation+for+PHP-M3U8\u0026no_note=0\u0026cn=\u0026currency_code=USD\u0026bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted)\n\nAn M3u8 parser / dumper.\n\nNow it fully supports for [RFC 8216](docs/supported-tags.md), and\nit can support for non standard M3U(8) with little effort.\n\nInstallation\n------------\n\nUse composer to require it:\n\n```bash\ncomposer require 'chrisyue/php-m3u8:^4' # PHP 7.4 or PHP 8.*\ncomposer require 'chrisyue/php-m3u8:^3' # PHP 5.6 or PHP 7.{0,1,2,3}\n```\n\nQuickstart\n----------\n\nSetup the demo project and install PHP M3U8 with it:\n\n```bash\nmkdir demo\ncd demo\ncomposer require 'chrisyue/php-m3u8:^4'\n```\n\nCopy the demo script file to the project root:\n\n```bash\ncp vendor/chrisyue/php-m3u8/demo/demo.php .\n```\n\nAnd run:\n\n```bash\nphp demo.php\n```\n\nYou could check the [demo file](demo/demo.php) out to find out how to use.\n\nAs a \"Facade\" hides too much details, if you take a look of those facade\nclasses, you'll notice that the real parser/dumper will take a \"tag definitions\"\nand a \"parsing/dumping rules\" as it's dependencies. \"definitions\" and \"rules\" are\nactually \"configuration\". All these \"configuration\"s are written in PHP. You may\nwant to modify those configuration files to meet your needs. For more\ninformation, see\n- [How to Define A Tag](docs/how-to-define-a-tag.md)\n- [How to Make A Parsing/Dumping Rule](docs/how-to-make-a-parsing-dumping-rule.md)\n\nDonation\n--------\n\nThanks for your support :)\n\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=blizzchris@gmail.com\u0026lc=US\u0026item_name=Donation+for+PHP-M3U8\u0026no_note=0\u0026cn=\u0026currency_code=USD\u0026bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted)\n\n\u003cimg width=\"150\" height=\"150\" alt=\"Wechat Donation\" src=\"https://www.chrisyue.com/wp-content/uploads/2020/08/wx-reward-code.jpg\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisyue%2Fphp-m3u8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisyue%2Fphp-m3u8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisyue%2Fphp-m3u8/lists"}