Skip to content

imanghafoori1/laravel-video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Stream in laravel 🎥

Quality Score Software License Latest Stable Version Monthly Downloads Total Downloads

Built with ❤️ for every smart laravel developer

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.

More from the author:

Laravel Widgetize

💎 A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.


Laravel Microscope

💎 Test your laravel application without writing tests!