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

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

phpthumb/phpthumb
=================

A library for manipulating images in PHP.

2.3.3(6mo ago)511.8k↓22.4%41MITPHPPHP &gt;=8.2

Since Jul 12Pushed 6mo ago1 watchersCompare

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

READMEChangelog (6)Dependencies (1)Versions (9)Used By (1)

PHP Thumb
=========

[](#php-thumb)

NOTICE -
--------

[](#notice--)

This project was recently updated to 2.0 and is PSR-0 compliant and supports Composer integration. Some parts of the documentation are incorrect as they haven't been updated for the new version. Your 1.0 code is not compatible with 2.0! Please review the updated examples for how to use the new version.

PHP Thumb is a light-weight image manipulation library aimed at thumbnail generation. It features the ability to resize by width, height, and percentage, create custom crops, or square crops from the center, and rotate the image. You can also easily add custom functionality to the library through plugins. It also features the ability to perform multiple manipulations per instance (also known as chaining), without the need to save and re-initialize the class with every manipulation.

More information and documentation is available at the project's wiki:

Documentation / Help
--------------------

[](#documentation--help)

I've tried to thoroughly document things as best I can, but here's a list of places to find documentation / help:

- [Documentation](https://github.com/PHPThumb/PHPThumb/wiki) - Your best friend, the library docs
- [Forums](https://github.com/PHPThumb/PHPThumb/discussions) - Got questions, comments, or feedback? This is the place to visit

License
-------

[](#license)

PHP Thumb is released under MIT license.

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance68

Regular maintenance activity

Popularity33

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~314 days

Total

8

Last Release

184d ago

PHP version history (3 changes)v2.0PHP &gt;=5.3.0

2.2PHP &gt;=7.4

2.3.0PHP &gt;=8.2

### Community

Maintainers

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

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

---

Top Contributors

[![masterexploder](https://avatars.githubusercontent.com/u/12376?v=4)](https://github.com/masterexploder "masterexploder (45 commits)")[![vendeeglobe](https://avatars.githubusercontent.com/u/54716082?v=4)](https://github.com/vendeeglobe "vendeeglobe (37 commits)")[![nettles-jarrod](https://avatars.githubusercontent.com/u/547734?v=4)](https://github.com/nettles-jarrod "nettles-jarrod (34 commits)")[![mikealmond](https://avatars.githubusercontent.com/u/600744?v=4)](https://github.com/mikealmond "mikealmond (3 commits)")[![inalyricalcoma](https://avatars.githubusercontent.com/u/646786?v=4)](https://github.com/inalyricalcoma "inalyricalcoma (2 commits)")[![marioquartz](https://avatars.githubusercontent.com/u/3995147?v=4)](https://github.com/marioquartz "marioquartz (2 commits)")[![acidvertigo](https://avatars.githubusercontent.com/u/809397?v=4)](https://github.com/acidvertigo "acidvertigo (2 commits)")[![ElisDN](https://avatars.githubusercontent.com/u/1673552?v=4)](https://github.com/ElisDN "ElisDN (2 commits)")[![pnomolos](https://avatars.githubusercontent.com/u/36223?v=4)](https://github.com/pnomolos "pnomolos (2 commits)")[![sirshurf](https://avatars.githubusercontent.com/u/255848?v=4)](https://github.com/sirshurf "sirshurf (2 commits)")[![svengt](https://avatars.githubusercontent.com/u/1049636?v=4)](https://github.com/svengt "svengt (2 commits)")[![cogentParadigm](https://avatars.githubusercontent.com/u/78707?v=4)](https://github.com/cogentParadigm "cogentParadigm (1 commits)")[![poisa](https://avatars.githubusercontent.com/u/348248?v=4)](https://github.com/poisa "poisa (1 commits)")[![Andrej-](https://avatars.githubusercontent.com/u/5861882?v=4)](https://github.com/Andrej- "Andrej- (1 commits)")[![markhuot](https://avatars.githubusercontent.com/u/48975?v=4)](https://github.com/markhuot "markhuot (1 commits)")[![kkamkou](https://avatars.githubusercontent.com/u/305739?v=4)](https://github.com/kkamkou "kkamkou (1 commits)")

---

Tags

gdimagephpphpthumbthumbnailimageresizerotate

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[intervention/image

PHP Image Processing

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

A library for manipulating images in PHP.

981751.7k17](/packages/masterexploder-phpthumb)[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)

PHPackages © 2026

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