This library is a wrapper around PHP-FFMpeg and packages media content for online streaming such as DASH and HLS. You can also use DRM for HLS packaging. There are several options to open a file from a cloud and save files to clouds as well.
Github Repository: https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming
Bug Tracker and Issues: https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming/issues
NOTE: For using DRM and encryption, I strongly recommend to try Shaka PHP, which is a great tool for this use case.
Classes, Methods, and ERD Diagrams
License & Credits of The Package