Run composer require "benlipp/srt-parser" and let Composer do the work. PHP 7+ is REQUIRED! This isn't amateur hour. A caption can be returned as an array instead of ...