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

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

tikiwiki/imagine
================

Image processing for PHP 8.0+

v1.0.1(7mo ago)04711MITPHPPHP ^8.1CI passing

Since Oct 6Pushed 7mo agoCompare

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

READMEChangelog (1)Dependencies (1)Versions (29)Used By (1)

\#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)

This project is a fork of [imagine/imagine](https://github.com/alchemy-fr/Imagine).

Tweet about it using the [\#php\_imagine](https://twitter.com/search?q=%23php_imagine) hashtag.

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

47

—

FairBetter than 94% of packages

Maintenance64

Regular maintenance activity

Popularity10

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity82

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

Recently: every ~260 days

Total

24

Last Release

222d ago

Major Versions

v0.11.0 → 1.0.02025-07-21

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

0.2.5PHP &gt;=5.3.2

1.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ab57d950ff63f8bdd0f076bdc39ded617d5ab6d4c2f02e9fb39fc748ea27f7d?d=identicon)[marclaporte](/maintainers/marclaporte)

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

![](https://www.gravatar.com/avatar/2e983982704d4227c97944415ae55edf27ff07b2c87e4917f5ada067705bd682?d=identicon)[rodriguezny](/maintainers/rodriguezny)

---

Top Contributors

[![avalanche123](https://avatars.githubusercontent.com/u/83289?v=4)](https://github.com/avalanche123 "avalanche123 (476 commits)")[![romainneutron](https://avatars.githubusercontent.com/u/137574?v=4)](https://github.com/romainneutron "romainneutron (275 commits)")[![sandeepa-12](https://avatars.githubusercontent.com/u/234552204?v=4)](https://github.com/sandeepa-12 "sandeepa-12 (38 commits)")[![rjkip](https://avatars.githubusercontent.com/u/1734555?v=4)](https://github.com/rjkip "rjkip (21 commits)")[![vlakoff](https://avatars.githubusercontent.com/u/544424?v=4)](https://github.com/vlakoff "vlakoff (20 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)")[![jygaulier](https://avatars.githubusercontent.com/u/1247618?v=4)](https://github.com/jygaulier "jygaulier (9 commits)")[![anthonysterling](https://avatars.githubusercontent.com/u/159960?v=4)](https://github.com/anthonysterling "anthonysterling (9 commits)")[![softstartcode](https://avatars.githubusercontent.com/u/146495005?v=4)](https://github.com/softstartcode "softstartcode (9 commits)")[![jmikola](https://avatars.githubusercontent.com/u/244663?v=4)](https://github.com/jmikola "jmikola (7 commits)")[![RadekDvorak](https://avatars.githubusercontent.com/u/672781?v=4)](https://github.com/RadekDvorak "RadekDvorak (5 commits)")[![rejinka](https://avatars.githubusercontent.com/u/831348?v=4)](https://github.com/rejinka "rejinka (5 commits)")[![nokrosis](https://avatars.githubusercontent.com/u/130460?v=4)](https://github.com/nokrosis "nokrosis (4 commits)")[![Richtermeister](https://avatars.githubusercontent.com/u/624921?v=4)](https://github.com/Richtermeister "Richtermeister (4 commits)")[![rouffj](https://avatars.githubusercontent.com/u/24047?v=4)](https://github.com/rouffj "rouffj (3 commits)")[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (3 commits)")[![bamarni](https://avatars.githubusercontent.com/u/1205386?v=4)](https://github.com/bamarni "bamarni (2 commits)")

---

Tags

image manipulationimage processingdrawinggraphics

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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