PHPackages                             rajurayhan/larastreamer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. rajurayhan/larastreamer

ActiveLibrary[Image &amp; Media](/categories/media)

rajurayhan/larastreamer
=======================

A laravel package to stream video content.

v1.0.0(6y ago)508.0k↓33.3%3MITPHP

Since Jul 9Pushed 6y ago2 watchersCompare

[ Source](https://github.com/rajurayhan/larastreamer)[ Packagist](https://packagist.org/packages/rajurayhan/larastreamer)[ RSS](/packages/rajurayhan-larastreamer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Video Streaming package for laravel
===================================

[](#video-streaming-package-for-laravel)

Installation
------------

[](#installation)

Install via Composer

```
composer require rajurayhan/larastreamer

```

Publish Configuration

```
php artisan vendor:publish --tag=larastreamer

```

Usage
-----

[](#usage)

This package shipped with a built in streaming route -

```
Route::get('/stream/{filename}', 'Raju\Streamer\Controllers\StreamController@stream')->name('stream');

```

Just send filename on route and stream!

Or just build your own method following this-

```
/* Controller */

use Raju\Streamer\Helpers\VideoStream;

class StreamController extends Controller
{
    public function stream($filename)
    {

        $videosDir      = config('larastreamer.basepath');
        if (file_exists($filePath = $videosDir."/".$filename)) {
            $stream = new VideoStream($filePath);
            return response()->stream(function() use ($stream) {
                $stream->start();
            });
        }
        return response("File doesn't exists", 404);
    }
}

```

Note
----

[](#note)

Default file base path is set to -

```
storage_path('app/uploads/')

```

To change, edit config/larastreamer.php

Find Me
-------

[](#find-me)

```
Email: devraju.bd@gmail.com

```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2499d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63fdca0530600fe6b063dc3ba8708a25992ebf3d2142e5ba8e2c504816ea679d?d=identicon)[rajurayhan](/maintainers/rajurayhan)

---

Top Contributors

[![rajurayhan](https://avatars.githubusercontent.com/u/6824950?v=4)](https://github.com/rajurayhan "rajurayhan (8 commits)")

---

Tags

laravel-packagelaravel-streamingstreaming

### Embed Badge

![Health badge](/badges/rajurayhan-larastreamer/health.svg)

```
[![Health](https://phpackages.com/badges/rajurayhan-larastreamer/health.svg)](https://phpackages.com/packages/rajurayhan-larastreamer)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
