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

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

dannytrue/phpthumb
==================

A library for manipulating images in PHP.

2.0.x-dev(14y ago)245.3k1[1 PRs](https://github.com/dannytrue/PHPThumb/pulls)PHPPHP &gt;=5.3.0

Since Jun 4Pushed 13y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/36690cbc2eb0c73aa21b693dc7220fbd009650a7d6b6e52511f2d67d6c27d907/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6d61737465726578706c6f6465722f5048505468756d622e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/masterexploder/PHPThumb)

PHP Thumb
=========

[](#php-thumb)

NOTICE - from Jarrod Nettles (the forker)
-----------------------------------------

[](#notice---from-jarrod-nettles-the-forker)

I've made some very radical changes to this library in getting it ready for PHP 5.3. My goals are to get it into a PSR-0 compliant state and into packagist as such so that it can be easily used in any project. If you intend to use my code, bear in mind that most of the documentation is no longer relevant. Instead, look at the examples folder in the project as I've updated each of them to reflect the new API.

The API is still in flux, as I haven't exactly pinned down where I'd like to take some parts so take anything you see with a grain of salt.

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 homepage:

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](http://wiki.github.com/iselby/PHPThumb/) - Your best friend, the library docs
- [Forums](http://phpthumb.gxdlabs.com/forums) - Got questions, comments, or feedback? This is the place to visit
- [Developer Docs](http://phpthumb.gxdlabs.com/apidocs) - Auto-generated docs for developers… these cover the code itself

License
-------

[](#license)

PHP Thumb is released under MIT license.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

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

5134d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d57c3206bd8ed27e03ea211898dff7bab4bb5495a847036ae3742dc81a95ecd?d=identicon)[dannytrue](/maintainers/dannytrue)

---

Top Contributors

[![masterexploder](https://avatars.githubusercontent.com/u/12376?v=4)](https://github.com/masterexploder "masterexploder (45 commits)")[![nettles-jarrod](https://avatars.githubusercontent.com/u/547734?v=4)](https://github.com/nettles-jarrod "nettles-jarrod (25 commits)")[![mikealmond](https://avatars.githubusercontent.com/u/600744?v=4)](https://github.com/mikealmond "mikealmond (3 commits)")[![svengt](https://avatars.githubusercontent.com/u/1049636?v=4)](https://github.com/svengt "svengt (2 commits)")[![pnomolos](https://avatars.githubusercontent.com/u/36223?v=4)](https://github.com/pnomolos "pnomolos (2 commits)")[![inalyricalcoma](https://avatars.githubusercontent.com/u/646786?v=4)](https://github.com/inalyricalcoma "inalyricalcoma (2 commits)")[![poisa](https://avatars.githubusercontent.com/u/348248?v=4)](https://github.com/poisa "poisa (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

imageresizerotate

### Embed Badge

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

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

###  Alternatives

[intervention/image

PHP Image Processing

14.3k203.8M2.5k](/packages/intervention-image)[masterexploder/phpthumb

A library for manipulating images in PHP.

967763.4k17](/packages/masterexploder-phpthumb)[sybio/image-workshop

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

854936.5k12](/packages/sybio-image-workshop)[intervention/image-laravel

Laravel Integration of Intervention Image

1558.1M159](/packages/intervention-image-laravel)

PHPackages © 2026

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