New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

imanghafoori/laravel-video

A laravel package to stream video content.
64,146 284
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.*
Laravel:5 – 12
License:MIT
Last Updated:Apr 8, 2025
Links: GitHub  ·  Packagist
Maintainer: imanghafoori1

Video Stream in laravel 🎥

Quality Score 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...

655,942,320 9,702
laravel/framework

The Laravel Framework.

617,629,957 34,997
laravel/tinker

Powerful REPL for the Laravel framework.

524,145,802 7,444
laravel/serializable-closure

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

442,489,569 607
nunomaduro/collision

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

412,228,818 4,664

Version History

Version Released PHP Laravel License
v2.1.5 7.2.*|7.3.*|7.4.*|8.0.*|8.1.*|8.2.*|8.3.*|8.4.* ~5.1|6.*|7.*|8.*|9.*|10.*|11.*|12.* MIT
v2.1.4 7.2.*|7.3.*|7.4.*|8.0.*|8.1.*|8.2.* ~5.1|6.*|7.*|8.*|9.*|10.* MIT
v2.1.3 7.2.*|7.3.*|7.4.*|8.0.*|8.1.* ~5.1|6.*|7.*|8.*|9.* MIT
v2.1.2 7.2.*|7.3.*|7.4.*|8.* ~5.1|6.*|7.*|8.* MIT
v2.1.1 7.2.*|7.3.*|7.4.* ~5.1|6.*|7.*|8.* MIT