1. Go to this page and download the library: Download turbo/turbo-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/ */
turbo / turbo-m3u8 example snippets
use TurboM3u8\M3u8;
$obj = M3u8::input($m3u8FilePath);
$obj->getInfo();