PHPackages                             james-heinrich/phpthumb - 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. james-heinrich/phpthumb

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

james-heinrich/phpthumb
=======================

The PHP thumbnail generator

v1.7.24(8mo ago)318516.1k↓25.5%100[29 issues](https://github.com/JamesHeinrich/phpThumb/issues)4GPL-1.0-or-laterPHPPHP &gt;=5.3.0

Since Jun 26Pushed 3mo ago31 watchersCompare

[ Source](https://github.com/JamesHeinrich/phpThumb)[ Packagist](https://packagist.org/packages/james-heinrich/phpthumb)[ Docs](http://phpthumb.sourceforge.net/)[ RSS](/packages/james-heinrich-phpthumb/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (14)Used By (4)Security (2)

phpThumb
========

[](#phpthumb)

phpThumb() - The PHP thumbnail generator

phpThumb() uses the GD library and/or ImageMagick to create thumbnails from images (GIF, PNG or JPEG) on the fly. The output size is configurable (can be larger or smaller than the source), and the source may be the entire image or only a portion of the original image. True color and resampling is used if GD v2.0+ is available, otherwise low-color and simple resizing is used. Source image can be a physical file on the server or can be retrieved from a database. GIFs are supported on all versions of GD even if GD does not have native GIF support thanks to the GIFutil class by Fabien Ezber. AntiHotlinking feature prevents other people from using your server to resize their thumbnails, or link to your images from another server. The cache feature reduces server load.

###  Health Score

60

—

FairBetter than 99% of packages

Maintenance70

Regular maintenance activity

Popularity58

Moderate usage in the ecosystem

Community39

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 75.8% 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 ~340 days

Recently: every ~242 days

Total

13

Last Release

257d ago

PHP version history (2 changes)v1.7.12PHP &gt;=4.3.3

v1.7.15PHP &gt;=5.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/bb80d3f77f77896dd3f7df1fef7f6a9dec948a3eab8403831ed382a38a25aba9?d=identicon)[JamesHeinrich](/maintainers/JamesHeinrich)

---

Top Contributors

[![JamesHeinrich](https://avatars.githubusercontent.com/u/3483435?v=4)](https://github.com/JamesHeinrich "JamesHeinrich (254 commits)")[![denysdesign](https://avatars.githubusercontent.com/u/1041797?v=4)](https://github.com/denysdesign "denysdesign (21 commits)")[![honzito](https://avatars.githubusercontent.com/u/2799494?v=4)](https://github.com/honzito "honzito (7 commits)")[![Maef](https://avatars.githubusercontent.com/u/7213542?v=4)](https://github.com/Maef "Maef (6 commits)")[![arturmamedov](https://avatars.githubusercontent.com/u/2785707?v=4)](https://github.com/arturmamedov "arturmamedov (6 commits)")[![petyagrill](https://avatars.githubusercontent.com/u/20860485?v=4)](https://github.com/petyagrill "petyagrill (4 commits)")[![mimrock](https://avatars.githubusercontent.com/u/779206?v=4)](https://github.com/mimrock "mimrock (4 commits)")[![hubdotcom](https://avatars.githubusercontent.com/u/5274747?v=4)](https://github.com/hubdotcom "hubdotcom (3 commits)")[![zatomant](https://avatars.githubusercontent.com/u/25015123?v=4)](https://github.com/zatomant "zatomant (2 commits)")[![deni2s](https://avatars.githubusercontent.com/u/3620312?v=4)](https://github.com/deni2s "deni2s (2 commits)")[![dleffler](https://avatars.githubusercontent.com/u/83437?v=4)](https://github.com/dleffler "dleffler (2 commits)")[![exside](https://avatars.githubusercontent.com/u/445501?v=4)](https://github.com/exside "exside (2 commits)")[![foufos](https://avatars.githubusercontent.com/u/781116?v=4)](https://github.com/foufos "foufos (2 commits)")[![ggppdk](https://avatars.githubusercontent.com/u/5092940?v=4)](https://github.com/ggppdk "ggppdk (2 commits)")[![mbolli](https://avatars.githubusercontent.com/u/722725?v=4)](https://github.com/mbolli "mbolli (2 commits)")[![tmgreensolutions](https://avatars.githubusercontent.com/u/35569992?v=4)](https://github.com/tmgreensolutions "tmgreensolutions (2 commits)")[![jasonkhanlar](https://avatars.githubusercontent.com/u/340415?v=4)](https://github.com/jasonkhanlar "jasonkhanlar (1 commits)")[![gavrochelegnou](https://avatars.githubusercontent.com/u/1511157?v=4)](https://github.com/gavrochelegnou "gavrochelegnou (1 commits)")[![wfoojjaec](https://avatars.githubusercontent.com/u/16068505?v=4)](https://github.com/wfoojjaec "wfoojjaec (1 commits)")[![mcdruid](https://avatars.githubusercontent.com/u/634209?v=4)](https://github.com/mcdruid "mcdruid (1 commits)")

---

Tags

thumbnailimageImageMagickgdthumbmagic

### Embed Badge

![Health badge](/badges/james-heinrich-phpthumb/health.svg)

```
[![Health](https://phpackages.com/badges/james-heinrich-phpthumb/health.svg)](https://phpackages.com/packages/james-heinrich-phpthumb)
```

###  Alternatives

[intervention/image

PHP Image Processing

14.3k194.3M2.2k](/packages/intervention-image)[league/glide

Wonderfully easy on-demand image manipulation library with an HTTP based API.

2.6k51.2M116](/packages/league-glide)[sybio/image-workshop

Powerful PHP class using GD library to work easily with images including layer notion (like Photoshop or GIMP)

860918.1k11](/packages/sybio-image-workshop)[intervention/image-laravel

Laravel Integration of Intervention Image

1536.5M102](/packages/intervention-image-laravel)[folklore/image

Image manipulation library for Laravel 5 based on Imagine and inspired by Croppa for easy url based manipulation

270248.2k5](/packages/folklore-image)[thapp/jitimage

Just in time image manipulation.

997.5k1](/packages/thapp-jitimage)

PHPackages © 2026

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