PHPackages                             bachnx/timthumb - 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. bachnx/timthumb

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

bachnx/timthumb
===============

An image proxy for Laravel

1.0.4(4y ago)026MITPHPPHP &gt;=5.6

Since Jan 28Pushed 4y agoCompare

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

READMEChangelogDependenciesVersions (7)Used By (0)

This project is not under development anymore. Check spescina/imgproxy instead
==============================================================================

[](#this-project-is-not-under-development-anymore-check-spescinaimgproxy-instead)

I think that this feature has to be left outside the framework. I don't like that Laravel has to be booted upon each image request.

Timthumb
========

[](#timthumb)

An image proxy for Laravel

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

[](#installation)

To install **Timthumb** as a Composer package to be used with Laravel 4, simply add this to your `composer.json`:

```
composer require bachnx/timthumb
```

and run composer update.

Once it's installed, you have to register the service provider. In `config/app.php` add the following line of code to the `providers` array:

```
Spescina\Timthumb\TimthumbServiceProvider::class
```

If you want in `config/app.php` add the following line of code to the `alias` array

```
'Timthumb' => 'Spescina\Timthumb\Facades\Timthumb'
```

Then, publish the config files with `php artisan vendor:publish --provider="Spescina\Timthumb\TimthumbServiceProvider" --tag=config`.

Then, publish the asset files with `php artisan vendor:publish --provider="Spescina\Timthumb\TimthumbServiceProvider" --tag=public`.

Usage
-----

[](#usage)

Generate the image link with the following line of code

```
$url = Timthumb::link('path/to/image.jpg',width,height)
```

Set 0 width or 0 height to let Timthumb mantain the original image ratio

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

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

Total

5

Last Release

1495d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.3.0

1.0.1PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/9da99ad9e878d52733c03bc514203f51995d3800dc4586e498494b31be318f20?d=identicon)[bachnx23](/maintainers/bachnx23)

---

Top Contributors

[![spescina](https://avatars.githubusercontent.com/u/1956604?v=4)](https://github.com/spescina "spescina (16 commits)")[![bachnx23](https://avatars.githubusercontent.com/u/7134491?v=4)](https://github.com/bachnx23 "bachnx23 (9 commits)")

---

Tags

laravelproxyimagecropResizer

### Embed Badge

![Health badge](/badges/bachnx-timthumb/health.svg)

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

###  Alternatives

[ctessier/nova-advanced-image-field

An advanced image field for Nova with cropping and resizing.

103548.4k1](/packages/ctessier-nova-advanced-image-field)[spescina/imgproxy

An image proxy for Laravel

201.3k](/packages/spescina-imgproxy)[reliqarts/laravel-guided-image

Simplified and ready image manipulation for Laravel via intervention image.

351.4k](/packages/reliqarts-laravel-guided-image)[ayvazyan10/nova-imagic

Imagic is a Laravel Nova field package that allows for image manipulation capabilities, such as cropping, resizing, quality adjustment, and WebP conversion. It utilizes the powerful Intervention Image class for image manipulation.

144.3k1](/packages/ayvazyan10-nova-imagic)

PHPackages © 2026

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