scratcher28 / laravel-video

A laravel package to stream video content.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Video Stream in laravel πŸŽ₯

Quality Score Software License Latest Stable Version Build Status 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 willing.

More from the author:

Laravel Widgetize

πŸ’Ž A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.


Laravel Terminator

πŸ’Ž A minimal yet powerful package to give you opportunity to refactor your controllers.


Eloquent Relativity

πŸ’Ž It allows you to decouple your eloquent models to reach a modular structure


Laravel Self Test

πŸ’Ž It automatically tests your laravel application


🍌 Reward me a crypto-banana 🍌

so that I will have energy to start the next package for you.

  • Dodge Coin: DJEZr6GJ4Vx37LGF3zSng711AFZzmJTouN
  • LiteCoin: ltc1q82gnjkend684c5hvprg95fnja0ktjdfrhcu4c4
  • BitCoin: bc1q53dys3jkv0h4vhl88yqhqzyujvk35x8wad7uf9
  • Ripple: rJwrb2v1TR6rAHRWwcYvNZxjDN2bYpYXhZ
  • Etherium: 0xa4898246820bbC8f677A97C2B73e6DBB9510151e

About

A laravel package to stream video content.

License:MIT License


Languages

Language:PHP 100.0%