π₯
Video Stream in laravel
β€οΈ for every smart laravel developer
Built with Installation:
Install via Composer
composer require imanghafoori/laravel-video
Usage:
<?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
Compatibility:
- Laravel: v5.1 or above
- Php: 7.2 or above
π Contributing:
If you find an issue, or have a better way to do something, feel free to open an issue or a pull request.
β Your Stars Make Us Do More β
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.