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

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

megaads/timthumb
================

An image proxy for Laravel

2.0.0(5y ago)0126MITPHPPHP &gt;=5.3.0

Since Aug 11Pushed 5y ago6 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)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

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

2106d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/72ad425c743522a807fd15e2a7b0ada9c2a2127ecca76fbef37cf9292022006a?d=identicon)[megaads-vn](/maintainers/megaads-vn)

---

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 (4 commits)")

---

Tags

laravelproxyimagecropResizer

### Embed Badge

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

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

###  Alternatives

[intervention/image-laravel

Laravel Integration of Intervention Image

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

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/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)
