chrisyue/php-m3u8
最新稳定版本:4.0.3
Composer 安装命令:
composer require chrisyue/php-m3u8
包简介
PHP M3U8 parser / dumper
README 文档
README
An M3u8 parser / dumper.
Now it fully supports for RFC 8216, and it can support for non standard M3U(8) with little effort.
Installation
Use composer to require it:
composer require 'chrisyue/php-m3u8:^4' # PHP 7.4 or PHP 8.* composer require 'chrisyue/php-m3u8:^3' # PHP 5.6 or PHP 7.{0,1,2,3}
Quickstart
Setup the demo project and install PHP M3U8 with it:
mkdir demo cd demo composer require 'chrisyue/php-m3u8:^4'
Copy the demo script file to the project root:
cp vendor/chrisyue/php-m3u8/demo/demo.php .
And run:
php demo.php
You could check the demo file out to find out how to use.
As a "Facade" hides too much details, if you take a look of those facade classes, you'll notice that the real parser/dumper will take a "tag definitions" and a "parsing/dumping rules" as it's dependencies. "definitions" and "rules" are actually "configuration". All these "configuration"s are written in PHP. You may want to modify those configuration files to meet your needs. For more information, see
Donation
Thanks for your support :)
统计信息
- 总下载量: 345.08k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 157
- 点击次数: 2
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-02-28