PHPackages                             ubick/imagine - 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. ubick/imagine

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

ubick/imagine
=============

Image processing for PHP 5.3

v0.3.0(13y ago)019MITPHPPHP &gt;=5.3.2

Since Oct 6Pushed 12y ago1 watchersCompare

[ Source](https://github.com/ubick/Imagine)[ Packagist](https://packagist.org/packages/ubick/imagine)[ Docs](http://imagine.readthedocs.org/)[ RSS](/packages/ubick-imagine/feed)WikiDiscussions develop Synced 3d ago

READMEChangelogDependencies (1)Versions (12)Used By (0)

\#Imagine [![project status](https://camo.githubusercontent.com/d48c7d393788c76571f26e9963f2d11661dbf4ebd0086b53fc865ca3c95d1a63/687474703a2f2f7374696c6c6d61696e7461696e65642e636f6d2f6176616c616e6368653132332f496d6167696e652e706e67)](http://stillmaintained.com/avalanche123/Imagine)[![Build Status](https://camo.githubusercontent.com/d070d3ae5a42000593a3a08fbd48bbb60b6126d54faf89efee0862e3bdbe7f4b/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6176616c616e6368653132332f496d6167696e652e706e673f6272616e63683d646576656c6f70)](http://travis-ci.org/avalanche123/Imagine)

Image manipulation library for PHP 5.3 inspired by Python's PIL and other image libraries.

\##Requirements##

The Imagine library has the following requirements:

- PHP 5.3+

Depending on the chosen Image implementation, you may need one of the following:

- GD2
- Imagick
- Gmagick

\##Basic Principles##

The main purpose of Imagine is to provide all the necessary functionality to bring all native low level image processing libraries in PHP to the same simple and intuitive OO API.

Several things are necessary to accomplish that:

- Image manipulation tools, such as resize, crop, etc.
- Drawing API - to create basic shapes and advanced charts, write text on the image
- Masking functionality - ability to apply black&amp;white or grayscale images as masks, leading to semi-transparency or absolute transparency of the image the mask is being applied to

The above tools should be the basic foundation for a more powerful set of tools that are called `Filters` in Imagine.

Some of the ideas for upcoming filters:

- Charting and graphing filters - pie and bar charts, linear graphs with annotations
- Reflection - apple style
- Rounded corners - web 2.0

Documentation
-------------

[](#documentation)

- [Hosted by Read The Docs](http://imagine.readthedocs.org/)

Presentations
-------------

[](#presentations)

- [Introduction to Imagine](http://www.slideshare.net/avalanche123/introduction-toimagine)
- [How to Take Over the World with Lithium](http://speakerdeck.com/u/nateabele/p/how-to-take-over-the-world-with-lithium?slide=33)

Articles
--------

[](#articles)

- [Image Processing with Imagine](http://www.phparch.com/2011/03/image-processing-with-imagine)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.7% 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 ~37 days

Recently: every ~68 days

Total

9

Last Release

5039d ago

PHP version history (2 changes)0.2.0PHP &gt;=5.3.0

0.2.5PHP &gt;=5.3.2

### Community

Maintainers

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

---

Top Contributors

[![avalanche123](https://avatars.githubusercontent.com/u/83289?v=4)](https://github.com/avalanche123 "avalanche123 (474 commits)")[![romainneutron](https://avatars.githubusercontent.com/u/137574?v=4)](https://github.com/romainneutron "romainneutron (224 commits)")[![rjkip](https://avatars.githubusercontent.com/u/1734555?v=4)](https://github.com/rjkip "rjkip (42 commits)")[![mitsuhiko](https://avatars.githubusercontent.com/u/7396?v=4)](https://github.com/mitsuhiko "mitsuhiko (18 commits)")[![anthonysterling](https://avatars.githubusercontent.com/u/159960?v=4)](https://github.com/anthonysterling "anthonysterling (13 commits)")[![nicodmf](https://avatars.githubusercontent.com/u/173332?v=4)](https://github.com/nicodmf "nicodmf (12 commits)")[![christeredvartsen](https://avatars.githubusercontent.com/u/25402?v=4)](https://github.com/christeredvartsen "christeredvartsen (12 commits)")[![Seldaek](https://avatars.githubusercontent.com/u/183678?v=4)](https://github.com/Seldaek "Seldaek (10 commits)")[![nokrosis](https://avatars.githubusercontent.com/u/130460?v=4)](https://github.com/nokrosis "nokrosis (8 commits)")[![jmikola](https://avatars.githubusercontent.com/u/244663?v=4)](https://github.com/jmikola "jmikola (7 commits)")[![rejinka](https://avatars.githubusercontent.com/u/831348?v=4)](https://github.com/rejinka "rejinka (5 commits)")[![bamarni](https://avatars.githubusercontent.com/u/1205386?v=4)](https://github.com/bamarni "bamarni (4 commits)")[![jfbus](https://avatars.githubusercontent.com/u/808338?v=4)](https://github.com/jfbus "jfbus (4 commits)")[![ejsidisi](https://avatars.githubusercontent.com/u/2768851?v=4)](https://github.com/ejsidisi "ejsidisi (4 commits)")[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (3 commits)")[![ubick](https://avatars.githubusercontent.com/u/904477?v=4)](https://github.com/ubick "ubick (2 commits)")[![benlumley](https://avatars.githubusercontent.com/u/194052?v=4)](https://github.com/benlumley "benlumley (2 commits)")[![chelmertz](https://avatars.githubusercontent.com/u/213477?v=4)](https://github.com/chelmertz "chelmertz (2 commits)")[![come](https://avatars.githubusercontent.com/u/347826?v=4)](https://github.com/come "come (2 commits)")[![jirinapravnik](https://avatars.githubusercontent.com/u/2507653?v=4)](https://github.com/jirinapravnik "jirinapravnik (2 commits)")

---

Tags

image manipulationimage processingdrawinggraphics

### Embed Badge

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

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

###  Alternatives

[imagine/imagine

Image processing for PHP

4.5k72.4M341](/packages/imagine-imagine)[rokka/imagine-vips

libvips adapter for imagine

43564.1k5](/packages/rokka-imagine-vips)[pixelandtonic/imagine

Image processing for PHP

133.4M3](/packages/pixelandtonic-imagine)[batdan/midjourney-api-php

Generate images Midjourney (Discord API). URLs in prompt accepted

222.2k](/packages/batdan-midjourney-api-php)[orchestra/imagine

Imagine (Wrapper) Component for Laravel

70207.0k3](/packages/orchestra-imagine)[ace-of-aces/laravel-image-transform-url

Easy, URL-based image transformations inspired by Cloudflare Images.

1756.4k](/packages/ace-of-aces-laravel-image-transform-url)

PHPackages © 2026

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