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

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

imanee/imanee
=============

PHP Image Manipulation Library

1.2.2(10y ago)26292.6k↑33.3%30[10 issues](https://github.com/imanee/imanee/issues)[1 PRs](https://github.com/imanee/imanee/pulls)4MITPHPPHP &gt;=5.4.0

Since Oct 10Pushed 8y ago2 watchersCompare

[ Source](https://github.com/imanee/imanee)[ Packagist](https://packagist.org/packages/imanee/imanee)[ Docs](http://imanee.io)[ RSS](/packages/imanee-imanee/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (3)Versions (18)Used By (4)

[![Build Status](https://camo.githubusercontent.com/d70486a4cbb62efb43e0a2ede22abe74499f93278b02c2db828745409dcaa0b0/68747470733a2f2f7472617669732d63692e6f72672f696d616e65652f696d616e65652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/imanee/imanee)[![Documentation Status](https://camo.githubusercontent.com/362decc605dc06e4cbe9f0e1b3211f40197291d38b755489998fba36310fc7bb/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f696d616e65652f62616467652f3f76657273696f6e3d6c6174657374)](https://readthedocs.org/projects/imanee/?badge=latest)[![Coverage Status](https://camo.githubusercontent.com/6f79f8194753ca9f6db26791e14dce4c326a7e74c2d6d77919de11b8f0b3f98c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f696d616e65652f696d616e65652f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/imanee/imanee?branch=master)[![License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](https://github.com/imanee/imanee/blob/master/LICENSE.md)[![Join the chat at https://gitter.im/imanee/imanee](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/imanee/imanee?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Imanee is a simple Image Manipulation library for PHP. It provides an easy flow and convenient methods for creating thumbnails, watermarks, text writing, animated gifs and more.

Check [our live demos](http://imanee.io/#demos) for usage examples. Check [our documentation](http://imanee.readthedocs.org) for detailed instructions.

Requirements
------------

[](#requirements)

Imanee requires PHP &gt;= 5.4 , and one of the following image extensions for PHP: **Imagick** or **GD**. It's recommended to use Imagick as it has more features, including animated gifs support (not available with GD).

Installation
------------

[](#installation)

First make sure you have either Imagick or GD installed and enabled on your PHP server. Imanee will try to use GD if Imagick is not found in the system.

You can add Imanee to your project easily through composer:

```
$ composer require imanee/imanee

```

Getting Started
---------------

[](#getting-started)

Some simple examples to get you started:

\###Thumbnail output

```
header("Content-type: image/jpg");

$imanee = new Imanee('path/to/my/image.jpg');
echo $imanee->thumbnail(200, 200)->output();
```

\###Writing centralized text on top of an image

```
header("Content-type: image/jpg");

$imanee = new Imanee('path/to/my/image.jpg');
echo $imanee->placeText('imanee test', 40, Imanee::IM_POS_MID_CENTER)
            ->output();
```

\###Image composition

```
header("Content-type: image/jpg");

$imanee = new Imanee('path/to/my/image.jpg');

/** places 4 different png images on the 4 corners of the original image */

echo $imanee->placeImage('img1.png', Imanee::IM_POS_TOP_LEFT)
    ->placeImage('img2.png', Imanee::IM_POS_TOP_RIGHT)
    ->placeImage('img3.png', Imanee::IM_POS_BOTTOM_LEFT)
    ->placeImage('img4.png', Imanee::IM_POS_BOTTOM_RIGHT)
    ->output()
;
```

\###Animated Gifs from an array of images

```
$frames[] = 'img01.png';
$frames[] = 'img02.png';
$frames[] = 'img03.png';
$frames[] = 'img04.png';

header("Content-type: image/gif");

echo Imanee::arrayAnimate($frames, 30);
```

\###Animated Gifs from files in a directory

```
header("Content-type: image/gif");

echo Imanee::globAnimate('resources/*.jpg');
```

\###Forcing GD usage

```
header("Content-type: image/jpg");

$imanee = new Imanee('path/to/my/image.jpg', new GDResource());
echo $imanee->thumbnail(200, 200)->output();
```

For more (and complete) examples please have a look at the demos repository: [](https://github.com/imanee/demos)

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity48

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Total

12

Last Release

3874d ago

Major Versions

0.1.1 → 1.0.x-dev2015-02-20

### Community

Maintainers

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

---

Top Contributors

[![erikaheidi](https://avatars.githubusercontent.com/u/293241?v=4)](https://github.com/erikaheidi "erikaheidi (45 commits)")[![lucasvanlierop](https://avatars.githubusercontent.com/u/1073227?v=4)](https://github.com/lucasvanlierop "lucasvanlierop (12 commits)")[![cordoval](https://avatars.githubusercontent.com/u/328359?v=4)](https://github.com/cordoval "cordoval (9 commits)")[![Lewiscowles1986](https://avatars.githubusercontent.com/u/2605791?v=4)](https://github.com/Lewiscowles1986 "Lewiscowles1986 (7 commits)")[![DragonBe](https://avatars.githubusercontent.com/u/282825?v=4)](https://github.com/DragonBe "DragonBe (5 commits)")[![mikeSimonson](https://avatars.githubusercontent.com/u/907613?v=4)](https://github.com/mikeSimonson "mikeSimonson (3 commits)")[![strayobject](https://avatars.githubusercontent.com/u/2257473?v=4)](https://github.com/strayobject "strayobject (3 commits)")[![assertchris](https://avatars.githubusercontent.com/u/200609?v=4)](https://github.com/assertchris "assertchris (3 commits)")[![andyftw](https://avatars.githubusercontent.com/u/14995290?v=4)](https://github.com/andyftw "andyftw (2 commits)")[![mhor](https://avatars.githubusercontent.com/u/4103719?v=4)](https://github.com/mhor "mhor (2 commits)")[![robth82](https://avatars.githubusercontent.com/u/6815619?v=4)](https://github.com/robth82 "robth82 (2 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (2 commits)")[![teameh](https://avatars.githubusercontent.com/u/1330668?v=4)](https://github.com/teameh "teameh (1 commits)")[![pborreli](https://avatars.githubusercontent.com/u/77759?v=4)](https://github.com/pborreli "pborreli (1 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")

---

Tags

phpimageImageMagickgdimagick

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[league/glide

Wonderfully easy on-demand image manipulation library with an HTTP based API.

2.6k53.3M146](/packages/league-glide)[orbitale/imagemagick-php

A system that allows creating commands to send to the exec() function to use ImageMagick's powerful features.

42418.0k1](/packages/orbitale-imagemagick-php)[admad/cakephp-glide

CakePHP plugin for using Glide image manipulation library.

34168.2k1](/packages/admad-cakephp-glide)[phpixie/image

PHPixie imageprocessing library

5357.1k6](/packages/phpixie-image)[thapp/jitimage

Just in time image manipulation.

977.5k1](/packages/thapp-jitimage)

PHPackages © 2026

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