PHPackages                             beeyev/thumbor-php - 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. beeyev/thumbor-php

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

beeyev/thumbor-php
==================

Thumbor library for PHP

2.1.0(2mo ago)2965.2k↓31.7%3[1 issues](https://github.com/beeyev/thumbor-php/issues)[2 PRs](https://github.com/beeyev/thumbor-php/pulls)MITPHPPHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Jun 26Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/beeyev/thumbor-php)[ Packagist](https://packagist.org/packages/beeyev/thumbor-php)[ Docs](https://github.com/beeyev/thumbor-php)[ RSS](/packages/beeyev-thumbor-php/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (6)Dependencies (5)Versions (15)Used By (0)

Thumbor PHP
===========

[](#thumbor-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/48a844155f2f38d0f5232891500287d84fcaaf5c00a21cf5f8e0018fcda96e23/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6265657965762f7468756d626f722d706870)](https://packagist.org/packages/beeyev/thumbor-php)[![Supported PHP Versions](https://camo.githubusercontent.com/1daecae52df947c8945cbafc66c46783e4522899610f364737010edbae676193/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6265657965762f7468756d626f722d7068702f7068702e737667)](https://packagist.org/packages/beeyev/thumbor-php)[![Packagist Downloads](https://camo.githubusercontent.com/b3bec9bdaa63598c9a286f3a5868a2cb6579b7e5e51d422650c5f937e6356571/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6265657965762f7468756d626f722d706870)](https://packagist.org/packages/beeyev/thumbor-php)

[![beeyev_thumbor-php](https://private-user-images.githubusercontent.com/326840/335503538-5c4139d3-097a-4e13-b4c0-f9b1dfc53ae4.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODY2OTMwNTUsIm5iZiI6MTc4NjY5Mjc1NSwicGF0aCI6Ii8zMjY4NDAvMzM1NTAzNTM4LTVjNDEzOWQzLTA5N2EtNGUxMy1iNGMwLWY5YjFkZmM1M2FlNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwODE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDgxNFQwNzMyMzVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jNGVkMGQzYTQ0YWI2ZmM4YzJiZGVlM2M5YzMzMjcxMjFkNDEzM2NjZjQ3MjJlOWNmMGM0OWIyZWNlNTI5YzQxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.wNI9bAbxJLg6yNyOIuw1Ka_zNmW-WFMfCJqkcfnaJLE)](https://private-user-images.githubusercontent.com/326840/335503538-5c4139d3-097a-4e13-b4c0-f9b1dfc53ae4.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODY2OTMwNTUsIm5iZiI6MTc4NjY5Mjc1NSwicGF0aCI6Ii8zMjY4NDAvMzM1NTAzNTM4LTVjNDEzOWQzLTA5N2EtNGUxMy1iNGMwLWY5YjFkZmM1M2FlNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwODE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDgxNFQwNzMyMzVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jNGVkMGQzYTQ0YWI2ZmM4YzJiZGVlM2M5YzMzMjcxMjFkNDEzM2NjZjQ3MjJlOWNmMGM0OWIyZWNlNTI5YzQxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.wNI9bAbxJLg6yNyOIuw1Ka_zNmW-WFMfCJqkcfnaJLE)

PHP implementation of URL generator for [Thumbor](http://www.thumbor.org/)

> This package has laravel support, and brings its conveniences like Facade and Service Provider.
> At the same time, it was made to be filly functional as framework-agnostic.

Supported PHP versions: `8.0 - 8.5`

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

[](#installation)

Require this package with composer using the following command:

```
composer require beeyev/thumbor-php
```

#### Laravel

[](#laravel)

This package will be automatically registered using Laravel auto-discovery mechanism.
Publish the config file of this package with this command. It will generate config file `config/thumbor.php`, look at this file to set the required parameters.

```
php artisan vendor:publish --provider="Beeyev\Thumbor\Adapters\Laravel\ThumborServiceProvider" --tag=config
```

Usage examples
--------------

[](#usage-examples)

#### Laravel using dependency injection

[](#laravel-using-dependency-injection)

```
use Beeyev\Thumbor\Thumbor;

public function someMethod(Thumbor $thumbor)
{
    $result = $thumbor->resizeOrFit(200,500)->get('http://seriouscat.com/serious_cat.jpg');
}
```

#### Laravel using facade

[](#laravel-using-facade)

```
use Beeyev\Thumbor\Manipulations\Fit;
use Beeyev\Thumbor\Manipulations\Trim;

public function someMethod()
{
    $result = \Thumbor::addFilter('blur', 3)
        ->resizeOrFit(500, 300, Fit::FIT_IN)
        ->trim(Trim::BOTTOM_RIGHT)
        ->get('http://seriouscat.com/serious_cat.jpg');
}
```

#### Some more framework-agnostic examples

[](#some-more-framework-agnostic-examples)

```
use Beeyev\Thumbor\Thumbor;
use Beeyev\Thumbor\Manipulations\Resize;
use Beeyev\Thumbor\Manipulations\Filter;

public function someMethod()
{
    $thumbor = new Thumbor('https://thumbor.findtheinvisiblecow.com/', 'secretKey555');
    $thumbor->addFilter(Filter::STRIP_EXIF);
    $thumbor->addFilter(Filter::BLUR, 1);
    $thumbor->resizeOrFit(500, Resize::ORIG);
    $thumbor->smartCrop();
    $thumbor->imageUrl('http://seriouscat.com/serious_cat.jpg');

    return $thumbor->get();
}
```

Issues
------

[](#issues)

Bug reports and feature requests can be submitted on the [Github Issue Tracker](https://github.com/beeyev/thumbor-php/issues).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/beeyev/thumbor-php/raw/master/LICENSE.md) for more information.

---

If you love this project, please consider giving me a ⭐

[![](https://camo.githubusercontent.com/2afcfdb197d29cbb7d1122ffcbcfeecb3f79a8b290388b5933716d9967845c1a/68747470733a2f2f76697369746f722d62616467652e6c616f62692e6963752f62616467653f706167655f69643d6265657965762e7468756d626f722d706870)](https://camo.githubusercontent.com/2afcfdb197d29cbb7d1122ffcbcfeecb3f79a8b290388b5933716d9967845c1a/68747470733a2f2f76697369746f722d62616467652e6c616f62692e6963752f62616467653f706167655f69643d6265657965762e7468756d626f722d706870)

###  Health Score

59

—

FairBetter than 98% of packages

Maintenance87

Actively maintained with recent releases

Popularity41

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 64% 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 ~205 days

Recently: every ~276 days

Total

8

Last Release

73d ago

Major Versions

1.8.1 → 2.0.12023-05-27

v2.x-dev → v3.x-dev2024-10-05

PHP version history (5 changes)1.8.0PHP ^7.4||^8.0

1.8.1PHP ^7.4 || ^8.0

2.0.1PHP ^7.0 || ^8.0

v3.x-devPHP ^8.1

2.1.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/326840?v=4)[Alexander Tebiev](/maintainers/beeyev)[@beeyev](https://github.com/beeyev)

---

Top Contributors

[![beeyev](https://avatars.githubusercontent.com/u/326840?v=4)](https://github.com/beeyev "beeyev (16 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![alexander-tebiev](https://avatars.githubusercontent.com/u/120428878?v=4)](https://github.com/alexander-tebiev "alexander-tebiev (1 commits)")[![lostfocus](https://avatars.githubusercontent.com/u/45055?v=4)](https://github.com/lostfocus "lostfocus (1 commits)")[![squiaios](https://avatars.githubusercontent.com/u/13620819?v=4)](https://github.com/squiaios "squiaios (1 commits)")

---

Tags

laravellaravel-packagethumborthumbor

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/beeyev-thumbor-php/health.svg)

```
[![Health](https://phpackages.com/badges/beeyev-thumbor-php/health.svg)](https://phpackages.com/packages/beeyev-thumbor-php)
```

###  Alternatives

[99designs/phumbor

A minimal Thumbor library for PHP

1252.4M6](/packages/99designs-phumbor)[goat1000/svggraph

Generates SVG graphs

135931.0k3](/packages/goat1000-svggraph)[stefangabos/zebra_image

A single-file, lightweight PHP library designed for efficient image manipulation featuring methods for modifying images and applying filters

138121.6k7](/packages/stefangabos-zebra-image)[treinetic/imageartist

ImageArtist is a php gd Wrapper which makes Image manipulation insanely easy, we introduce ImageArtist as Photoshop for php

8783.2k](/packages/treinetic-imageartist)[somehow-digital/typo3-media-processing

Media Processing

121.3k](/packages/somehow-digital-typo3-media-processing)[yk/laravel-ocr

A wrapper for gocr.

1356.6k](/packages/yk-laravel-ocr)

PHPackages © 2026

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