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

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

basekit/imanee
==============

PHP Image Manipulation Library

1(10y ago)112.4kMITPHPPHP &gt;=5.3.0

Since Feb 20Pushed 10y ago20 watchersCompare

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

READMEChangelogDependencies (4)Versions (7)Used By (0)

[![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

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity62

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

Total

2

Last Release

3868d ago

PHP version history (2 changes)1.0.x-devPHP &gt;=5.4.0

1PHP &gt;=5.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a7c83234e38e2e36bfd7c8decb2653f93a89fb09478e93ae04a54a3fd5e4288?d=identicon)[basekit](/maintainers/basekit)

---

Top Contributors

[![erikaheidi](https://avatars.githubusercontent.com/u/293241?v=4)](https://github.com/erikaheidi "erikaheidi (43 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)")[![assertchris](https://avatars.githubusercontent.com/u/200609?v=4)](https://github.com/assertchris "assertchris (3 commits)")[![mikeSimonson](https://avatars.githubusercontent.com/u/907613?v=4)](https://github.com/mikeSimonson "mikeSimonson (3 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)")[![strayobject](https://avatars.githubusercontent.com/u/2257473?v=4)](https://github.com/strayobject "strayobject (2 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")[![pborreli](https://avatars.githubusercontent.com/u/77759?v=4)](https://github.com/pborreli "pborreli (1 commits)")[![teameh](https://avatars.githubusercontent.com/u/1330668?v=4)](https://github.com/teameh "teameh (1 commits)")

---

Tags

phpimageImageMagickgdimagick

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[league/glide

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

2.6k51.2M116](/packages/league-glide)[orbitale/imagemagick-php

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

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

CakePHP plugin for using Glide image manipulation library.

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

PHPixie imageprocessing library

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

Just in time image manipulation.

997.5k1](/packages/thapp-jitimage)

PHPackages © 2026

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