imanghafoori/laravel-video

A laravel package to stream video content.
62,174 283
Install
composer require imanghafoori/laravel-video
Latest Version:v2.1.5
PHP:7.2.*|7.3.*|7.4.*|8.0.*|8.1.*|8.2.*|8.3.*|8.4.*
License:MIT
Last Updated:Apr 8, 2025
Links: GitHub  ·  Packagist
Maintainer: imanghafoori1

Video Stream in laravel 🎥

Software License Latest Stable Version Monthly Downloads Total Downloads

Built with :heart: 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

:raising_hand: Contributing:

If you find an issue, or have a better way to do something, feel free to open an issue or a pull request.

:star: Your Stars Make Us Do More :star:

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

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


Laravel Microscope

:gem: Test your laravel application without writing tests!


Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

584,532,650 34,931
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

413,412,504 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

391,429,217 4,660