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

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

arsthanea/imagine
=================

Image processing for PHP 5.3

v0.5.1(10y ago)025.4kMITPHPPHP &gt;=5.3.2

Since Jun 16Pushed 10y ago2 watchersCompare

[ Source](https://github.com/syzygypl/Imagine)[ Packagist](https://packagist.org/packages/arsthanea/imagine)[ Docs](http://imagine.readthedocs.org/)[ RSS](/packages/arsthanea-imagine/feed)WikiDiscussions 0.5 Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)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

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.3% 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 ~0 days

Total

3

Last Release

3989d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8572223899390b494d1282b615009bc2eea5ef1cd6bfc22f6e6b175034dadfe0?d=identicon)[mlebkowski](/maintainers/mlebkowski)

---

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 (85 commits)")[![rjkip](https://avatars.githubusercontent.com/u/1734555?v=4)](https://github.com/rjkip "rjkip (21 commits)")[![mitsuhiko](https://avatars.githubusercontent.com/u/7396?v=4)](https://github.com/mitsuhiko "mitsuhiko (18 commits)")[![christeredvartsen](https://avatars.githubusercontent.com/u/25402?v=4)](https://github.com/christeredvartsen "christeredvartsen (12 commits)")[![nicodmf](https://avatars.githubusercontent.com/u/173332?v=4)](https://github.com/nicodmf "nicodmf (12 commits)")[![Seldaek](https://avatars.githubusercontent.com/u/183678?v=4)](https://github.com/Seldaek "Seldaek (10 commits)")[![anthonysterling](https://avatars.githubusercontent.com/u/159960?v=4)](https://github.com/anthonysterling "anthonysterling (9 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)")[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (3 commits)")[![lenar](https://avatars.githubusercontent.com/u/281544?v=4)](https://github.com/lenar "lenar (2 commits)")[![macolu](https://avatars.githubusercontent.com/u/208268?v=4)](https://github.com/macolu "macolu (2 commits)")[![benlumley](https://avatars.githubusercontent.com/u/194052?v=4)](https://github.com/benlumley "benlumley (2 commits)")[![ejsidisi](https://avatars.githubusercontent.com/u/2768851?v=4)](https://github.com/ejsidisi "ejsidisi (2 commits)")[![ornicar](https://avatars.githubusercontent.com/u/140370?v=4)](https://github.com/ornicar "ornicar (2 commits)")[![pandur](https://avatars.githubusercontent.com/u/454783?v=4)](https://github.com/pandur "pandur (2 commits)")[![jfbus](https://avatars.githubusercontent.com/u/808338?v=4)](https://github.com/jfbus "jfbus (2 commits)")[![chelmertz](https://avatars.githubusercontent.com/u/213477?v=4)](https://github.com/chelmertz "chelmertz (2 commits)")[![bamarni](https://avatars.githubusercontent.com/u/1205386?v=4)](https://github.com/bamarni "bamarni (2 commits)")

---

Tags

image manipulationimage processingdrawinggraphics

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/arsthanea-imagine/health.svg)](https://phpackages.com/packages/arsthanea-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)
