PHPackages                             ksolutions/videotothumbbyks - 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. ksolutions/videotothumbbyks

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

ksolutions/videotothumbbyks
===========================

A package to create thumbnails from videos and images for Laravel and Core PHP

v1.0.1(11mo ago)09MITPHPPHP ^7.4|^8.0|^8.1|^8.2|^8.3

Since Sep 25Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/Khemraj890/videotothumbbyks)[ Packagist](https://packagist.org/packages/ksolutions/videotothumbbyks)[ RSS](/packages/ksolutions-videotothumbbyks/feed)WikiDiscussions main Synced 1mo ago

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

videotothumbbyks
================

[](#videotothumbbyks)

videotothumbbyks

This package is created by Khemraj Sharma if you have any Queries then Please contact me at

Step ---1 ---- Install this package

composer require ksolutions/videotothumbbyks

Step ---2 ----

sudo apt update

sudo apt install ffmpeg

Step ---3 ----

In your Controller

use KSolutions\\VideoToThumb\\VideoToThumb;

public function uploadVideo(Request $request)

{

```
try {
    if (!$request->hasFile('video')) {
        return response()->json(['status' => 'failed', 'message' => 'No video file uploaded']);
    }
    $file = $request->file('video');
    $time = time();
    $videoPath = $file->storeAs('public/videos', $time.'-video.mp4');
    $videoFullPath = storage_path('app/' . $videoPath);
    $thumbnailPath = storage_path('app/public/thumbnails/'.$time.'-thumbnail.jpg');
    $videoToThumb = new VideoToThumb();
    $result = $videoToThumb->generateVideoThumbnail($videoFullPath, $thumbnailPath, 5);
    if ($result) {
        return response()->json(['status' => 'success', 'message' => 'Thumbnail generated successfully', 'thumbnail' => $thumbnailPath]);
    } else {
        return response()->json(['status' => 'failed', 'message' => 'Thumbnail generation failed']);
    }
} catch (Exception $e) {
    // Catch and display the exception message
    return response()->json(['status' => 'error', 'message' => $e->getMessage()]);
}

```

}

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance52

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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 ~254 days

Total

2

Last Release

337d ago

PHP version history (2 changes)v1.0.0PHP ^8.1

v1.0.1PHP ^7.4|^8.0|^8.1|^8.2|^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ae3712d7827137e3d86ce70f96c9a94cd55f31ac86ba9e5b33a470423f5f6b4?d=identicon)[Khemraj890](/maintainers/Khemraj890)

---

Top Contributors

[![Khemraj890](https://avatars.githubusercontent.com/u/177530489?v=4)](https://github.com/Khemraj890 "Khemraj890 (5 commits)")

### Embed Badge

![Health badge](/badges/ksolutions-videotothumbbyks/health.svg)

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

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[spatie/mailcoach

Self-host Mailcoach

4007.0k](/packages/spatie-mailcoach)[daun/statamic-placeholders

Generate low-quality image placeholders for lazyloading Statamic assets

106.6k](/packages/daun-statamic-placeholders)

PHPackages © 2026

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