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

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

spescina/timthumb
=================

An image proxy for Laravel

1.0.0(12y ago)56.0k2MITPHPPHP &gt;=5.3.0

Since Jan 28Pushed 12y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (3)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`:

```
"spescina/timthumb": "1.0.*"
```

and run composer update.

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

```
'Spescina\Timthumb\TimthumbServiceProvider'
```

If you want in `app/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 config:publish spescina/timthumb`.

Then, publish the asset files with `php artisan asset:publish spescina/timthumb`.

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

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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

Unknown

Total

1

Last Release

4485d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1da812cfabeba8d2a2a658ffa61204f0e5ccbb70dc3b81fc6cebf0eb28f8f73f?d=identicon)[simonpex](/maintainers/simonpex)

---

Top Contributors

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

---

Tags

laravelproxyimagecropResizer

### Embed Badge

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

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

###  Alternatives

[intervention/image-laravel

Laravel Integration of Intervention Image

1496.5M100](/packages/intervention-image-laravel)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k22](/packages/bkwld-croppa)[spescina/imgproxy

An image proxy for Laravel

201.3k](/packages/spescina-imgproxy)[ctessier/nova-advanced-image-field

An advanced image field for Nova with cropping and resizing.

103548.4k1](/packages/ctessier-nova-advanced-image-field)[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)
