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

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

mro/thumbnail
=============

This Package Use To Create Thumbnail Image in Laravel (Writer:MohammadRezaOrdooni)

11PHP

Since Jul 25Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Thumbnail
=========

[](#thumbnail)

Thumbnail Can Use To Create Image Thumbnail In Laravel.

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

[](#installation)

```
composer require mro/thumbnail
```

Add the following code to providers in config/app.php

```
Mro\Thumbnail\ThumbnailServiceProvider::class,
```

Add the following code to aliases in config/app.php

```
'Thumbnail'=>Mro\Thumbnail\ThumbnailFacade::class,
```

Usage
-----

[](#usage)

```
 public function store(Request $request)
    {
        # create function arguments: create($_FILES['image'],$quality,$newWidth,newHeight);
        # the defaults are $quality=100 & $newWidth=300 & newHeight=300.
        # Images will be upload in "public/uploads/thumbnails/" directory.
        $image=\Thumbnail::create($request->image,100,200,200);
        Post::create([
            'image'=>$image,
        ]);

    }
```

Contributing
------------

[](#contributing)

I hope that will be usefull for you.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/797df1c84c1f52f569aa464414c2658aa7930056fc5a611877839ebc68c3e819?d=identicon)[mohammadrezaordooni](/maintainers/mohammadrezaordooni)

---

Top Contributors

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

### Embed Badge

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

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

###  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)[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)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

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