Skip to content

notdefine/m3uParser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

m3u Content Parser

Minimalistic, easy to use, object orientated m3u playlist parser

Example usage

use dsv\m3u8Parser\M3uParser;

$parser = \dsv\m3u8Parser\M3uParser::init();
$parser->setM3uFile('https://iptv-org.github.io/iptv/countries/ru.m3u');
$parser->parse();

/** @var M3uItem $m3uItem */
foreach ($parser->items as $m3uItem) {
    var_dump($m3uItem);
}

Installation

composer require dvsergey/m3u-parser:@dev

Tests

vendor/bin/phpstan vendor/bin/phpunit

Questions?

For all questions and suggestions - welcome to Issues

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%