Stars: 237
Forks: 34
Pull Requests: 11
Issues: 16
Watchers: 9
Last Updated: 2023-02-16 10:52:54
A laravel package to stream video content.
License: MIT License
Languages: PHP
Install via Composer
composer require imanghafoori/laravel-video
<?php
use Iman\Streamer\VideoStreamer;
Route::get('/home', function () {
$path = public_path('vid.mp4');
VideoStreamer::streamFile($path);
});
That's it ! you can play your video file !
You do not need to return
from your controller
If you find an issue, or have a better way to do something, feel free to open an issue or a pull request.
As always if you found this package useful and you want to encourage us to maintain and work on it. Just press the star button to declare your willingness.
💎 A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.
💎 Test your laravel application without writing tests!