PHPackages                             ekoukltd/video-thumbnail - 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. ekoukltd/video-thumbnail

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

ekoukltd/video-thumbnail
========================

Video thumbnails

5.0.0(2y ago)06MITPHPPHP &gt;=8.0

Since Jul 15Pushed 2y agoCompare

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

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Video Thumbnail
---------------

[](#video-thumbnail)

Simple package for generating video thumbnail in Laravel using FFMpeg.

Support my work
---------------

[](#support-my-work)

If you want to support my work in other way than contributing the code itself, you can always pass me some small donation 🍺 at  :)

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

[](#installation)

Composer install:

```
composer require ekoukltd/video-thumbnail

```

After package installation, add the ServiceProvider to the providers array in config/app.php

```
Ekoukltd\VideoThumbnail\VideoThumbnailServiceProvider::class

```

And to the aliases array

```
'VideoThumbnail' => Ekoukltd\VideoThumbnail\Facade\VideoThumbnail::class

```

Also you can publish package config file with:

```
php artisan vendor:publish --tag=video-thumbnail

```

and set ffmpeg and ffprobe paths in .env file:

```
FFMPEG="/usr/bin/ffmpeg"
FFPROBE="/usr/bin/ffprobe"

```

Versions
--------

[](#versions)

LaravelPHPekoukltd/video-thumbnailphp-ffmpeg/php-ffmpeg&gt;= ^5.0 and &lt; ^5.8&lt; 7.4^1.\*0.11.0^5.8 and ^6.\*&gt;= 7.4 and &lt;= 8.1^2.\*0.13.0^7.\* and ^8.\*&gt;= 7.4 and &lt;= 8.1^3.\*0.19.0^9.\*&gt;= 8.0^4.\*1.\*^10.\*&gt;= 8.1^5.\*1.\*Usage
-----

[](#usage)

```
VideoThumbnail::createThumbnail(
    $videoUrl,
    $storageUrl,
    $fileName,
    $second,
    $width = 640,
    $height = 480
);

```

**$videoUrl** - absolute path to video file,
**$storageUrl** - absolute path where the thumbnail should be save,
**$fileName** - name of thumbnail file,
**$second** - from which second of the movie thumbnail should be created,
**$width** \[Optional\] - width (in pixels) of the thumbnail (default 640),
**$height** \[Optional\] - height (in pixels) of the thumbnail (default 480).

Example
-------

[](#example)

```
VideoThumbnail::createThumbnail(
    public_path('files/movie.mp4'),
    public_path('files/thumbs/'),
    'movie.jpg',
    2,
    1920,
    1080
);

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

1037d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/133e7275d57b3053e870a66332b987ae0be489e1c61938f22196d42cf19d2be9?d=identicon)[ekoukltd](/maintainers/ekoukltd)

---

Top Contributors

[![sukhilpits](https://avatars.githubusercontent.com/u/23118498?v=4)](https://github.com/sukhilpits "sukhilpits (11 commits)")[![pawlox](https://avatars.githubusercontent.com/u/8789470?v=4)](https://github.com/pawlox "pawlox (10 commits)")[![pawel-omniaz](https://avatars.githubusercontent.com/u/100271775?v=4)](https://github.com/pawel-omniaz "pawel-omniaz (7 commits)")[![cannycookie](https://avatars.githubusercontent.com/u/500822?v=4)](https://github.com/cannycookie "cannycookie (2 commits)")[![stojankukrika](https://avatars.githubusercontent.com/u/10199584?v=4)](https://github.com/stojankukrika "stojankukrika (1 commits)")

---

Tags

laravelVideo ThumbnailsLaravel video thumbnail

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ekoukltd-video-thumbnail/health.svg)

```
[![Health](https://phpackages.com/badges/ekoukltd-video-thumbnail/health.svg)](https://phpackages.com/packages/ekoukltd-video-thumbnail)
```

###  Alternatives

[creativeorange/gravatar

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

5467.5M54](/packages/creativeorange-gravatar)[pawlox/video-thumbnail

Video thumbnails

24236.3k1](/packages/pawlox-video-thumbnail)[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)

PHPackages © 2026

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