PHPackages                             dharma/laravel-video-uploader - 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. dharma/laravel-video-uploader

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

dharma/laravel-video-uploader
=============================

Laravel package to handle large video uploads with adaptive streaming (HLS) and progress tracking

v2.0.0(4mo ago)01MITPHPPHP &gt;=8.1

Since Dec 27Pushed 4mo agoCompare

[ Source](https://github.com/grgdharma/laravel-video-uploader)[ Packagist](https://packagist.org/packages/dharma/laravel-video-uploader)[ RSS](/packages/dharma-laravel-video-uploader/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

[![Packagist Version](https://camo.githubusercontent.com/99f0a8dfad8fc1d7ef5e9d837a60c5ead8394b9019a6de043d60a5189852f4f1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646861726d612f6c61726176656c2d766964656f2d75706c6f616465723f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dharma/laravel-video-uploader)[![PHP Version](https://camo.githubusercontent.com/93a465c693a4d9c3262155f887f307f19aee1c439a15e929a4476c10425f84e3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646861726d612f6c61726176656c2d766964656f2d75706c6f616465723f7374796c653d666c61742d737175617265)](https://www.php.net/)[![License](https://camo.githubusercontent.com/c1331ecc6ec7aa097fbab387b4bacf80a0cb874824229e0e5d90076ca46d12ac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f646861726d612f6c61726176656c2d766964656f2d75706c6f616465723f7374796c653d666c61742d737175617265)](LICENSE)[![Laravel Version](https://camo.githubusercontent.com/095f07b46a36ffda6a1e41286b12a0e7cee7048f7762565692d3661d08bd34fe/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31302e782d7265643f7374796c653d666c61742d737175617265)](https://laravel.com/)

---

A simple and elegant **Laravel package** to handle **video uploads** effortlessly. Supports single or multiple video uploads with optional validation and storage support. Perfect for modern Laravel applications.

---

🌟 Features
----------

[](#-features)

- Upload **single or multiple videos**
- Supports popular video formats (`mp4`, `mov`, `avi`, etc.)
- Optional **size/type validation**
- Compatible with **Laravel 10+**
- Easy integration with **custom storage disks**
- Lightweight and **developer-friendly**

---

⚙️ Dependencies
---------------

[](#️-dependencies)

Before using **`dharma/laravel-video-uploader`**, install:

- [pbmedia/laravel-ffmpeg](https://github.com/pascalbaljetmedia/laravel-ffmpeg) – handles video processing.

```
composer require pbmedia/laravel-ffmpeg:^8.7
```

⚡ Installation
--------------

[](#-installation)

Install via Composer:

```
composer require dharma/laravel-video-uploader
```

Publish the config file:

```
php artisan vendor:publish --provider="Dharma\VideoUploader\VideoUploaderServiceProvider" --tag=config
```

🚀 Usage Examples
----------------

[](#-usage-examples)

```
use Dharma\VideoUploader\VideoUploader;

class VideoController extends Controller
{
    protected VideoUploader $video;

    public function __construct(VideoUploader $video)
    {
        $this->video = $video;
    }

    /**
     * List all videos
     */
    public function index()
    {
        // List videos with pagination (20 per page)
        $videos = $this->video->list([], 20);
        return view('video', compact('videos'));
    }

    /**
     * Upload a new video
     */
    public function store(Request $request)
    {
        // Upload video and dispatch processing job
        $video = $this->video->uploadVideo($request->file('video'));
        return response()->json([
            'message' => 'Video uploaded and queued for processing.!',
            'video' => $video
        ]);
    }

    /**
     * Show single video
     */
    public function show(int $id)
    {
        $video = $this->video->getById($id);
        return view('video', compact('video'));
    }

    /**
     * Delete a video by ID
     */
    public function destroy(int $id)
    {
        $this->video->deleteById($id);
        return response()->json([
            'message' => 'Video deleted successfully.!'
        ]);
    }
}
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance75

Regular maintenance activity

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Every ~0 days

Total

2

Last Release

136d ago

PHP version history (2 changes)v2.0.0PHP &gt;=8.1

v1.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/49d04cc8b2c36188755b77b6527d8f4c8c63bcda3e31a437b97b6d306ad58272?d=identicon)[grgdharma](/maintainers/grgdharma)

---

Top Contributors

[![grgdharma](https://avatars.githubusercontent.com/u/7381980?v=4)](https://github.com/grgdharma "grgdharma (7 commits)")

---

Tags

laravellaravel-packagevideovideo-uploader

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dharma-laravel-video-uploader/health.svg)

```
[![Health](https://phpackages.com/badges/dharma-laravel-video-uploader/health.svg)](https://phpackages.com/packages/dharma-laravel-video-uploader)
```

###  Alternatives

[creativeorange/gravatar

A Laravel Gravatar package for retrieving gravatar image URLs or checking the existance of an image.

5467.5M54](/packages/creativeorange-gravatar)[intervention/image-laravel

Laravel Integration of Intervention Image

1496.5M102](/packages/intervention-image-laravel)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[ralphjsmit/laravel-glide

Auto-magically generate responsive images from static image files.

4719.6k5](/packages/ralphjsmit-laravel-glide)[spatie/laravel-og-image

Generate OG images for your Laravel app

305.2k](/packages/spatie-laravel-og-image)[nikkanetiya/laravel-color-palette

Laravel Wrapper for `ksubileau/color-thief-php`. Grabs the dominant color or a representative color palette from an image. Uses PHP and GD or Imagick.

3312.6k](/packages/nikkanetiya-laravel-color-palette)

PHPackages © 2026

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