PHP code example of chrisyue / php-m3u8

1. Go to this page and download the library: Download chrisyue/php-m3u8 library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

chrisyue / php-m3u8 example snippets

bash
composer uire 'chrisyue/php-m3u8:^3' # PHP 5.6 or PHP 7.{0,1,2,3}
bash
mkdir demo
cd demo
composer 
bash
cp vendor/chrisyue/php-m3u8/demo/demo.php .
bash
php demo.php