PHPackages                             anahkiasen/illuminage - 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. anahkiasen/illuminage

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

anahkiasen/illuminage
=====================

Wrapper for the Imagine library to hook into the Laravel framework

1.2.2(11y ago)174.3k4[1 PRs](https://github.com/Anahkiasen/illuminage/pulls)MITPHPPHP &gt;=5.3.0

Since Mar 27Pushed 10y ago3 watchersCompare

[ Source](https://github.com/Anahkiasen/illuminage)[ Packagist](https://packagist.org/packages/anahkiasen/illuminage)[ RSS](/packages/anahkiasen-illuminage/feed)WikiDiscussions master Synced 4w ago

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

DEPRECATED: Use [Glide](http://glide.thephpleague.com/) instead
===============================================================

[](#deprecated-use-glide-instead)

Illuminage
==========

[](#illuminage)

[![Build Status](https://camo.githubusercontent.com/7bb5c604dd03afee9613f74d801c4d25d6939a714d03f8b7ab404765bf4da1b7/68747470733a2f2f7472617669732d63692e6f72672f416e61686b696173656e2f696c6c756d696e6167652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/Anahkiasen/illuminage)[![Latest Stable Version](https://camo.githubusercontent.com/8d77cb6ee4ddb14b6616d1787f15d8dacf18999a5a1317de395245dde6b7306b/68747470733a2f2f706f7365722e707567782e6f72672f616e61686b696173656e2f696c6c756d696e6167652f762f737461626c652e706e67)](https://packagist.org/packages/anahkiasen/illuminage)[![Total Downloads](https://camo.githubusercontent.com/35938be561c92f67564085761d037084bfa99c301c5dbef5c73fc3c5ca26328c/68747470733a2f2f706f7365722e707567782e6f72672f616e61686b696173656e2f696c6c756d696e6167652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/anahkiasen/illuminage)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/5bcdcc4050239d5a6a34095ac8ae4cbe9ff00312340774d1170651f97899fc3f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f416e61686b696173656e2f696c6c756d696e6167652f6261646765732f7175616c6974792d73636f72652e706e673f733d64353432303335653564336535313434323536336430396331666132383537356632343161303730)](https://scrutinizer-ci.com/g/Anahkiasen/illuminage/)[![Code Coverage](https://camo.githubusercontent.com/207f59bfaf5ea0c73e36148c9d46ce5a624fc75978747b3de75abf863bab5ef2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f416e61686b696173656e2f696c6c756d696e6167652f6261646765732f636f7665726167652e706e673f733d32323163613061356666346236323566623637353663336465336261643231386662653231343462)](https://scrutinizer-ci.com/g/Anahkiasen/illuminage/)

Setup
-----

[](#setup)

First do `composer require anahkiasen/illuminage:dev-master`.

Then if you're on a Laravel app, add the following to the `providers` array in `app/config/app.php` :

```
'Illuminage\IlluminageServiceProvider',
```

And this in the `facades` array in the same file :

```
'Illuminage' => 'Illuminage\Facades\Illuminage',
```

And then do `artisan asset:publish anahkiasen/illuminage`.

Usage
-----

[](#usage)

Illuminage is a wrapper for the Imagine library to hook into the Laravel framework. It implements elegant shortcuts around Imagine and a smart cache system.

```
// This will create a cropped 200x300 thumb, cache it, and display it in an image tag
echo Illuminage::thumb('image.jpg', 200, 300)
// or
echo Illuminage::image('image.jpg')->thumbnail(200, 300)

// Shortcuts
echo Illuminage::square('image.jpg', 300)
```

What you get from those calls are not direct HTML strings but objects implementing the [HtmlObject\\Tag](https://github.com/Anahkiasen/html-object) abstract, so you can use all sorts of HTML manipulation methods on them :

```
$thumb = Illuminage::square('image.jpg', 200)->addClass('image-wide');
$thumb = $thumb->wrapWith('figure')->id('avatar');

echo $thumb;
//
```

You can at all time access the original Imagine instance used to render the images :

```
$thumb = Illuminage::image('foo.jpg')->thumbnail(200, 200);

echo $thumb->grayscale()->onImage(function($image) {
  $image->flipVertically()->rotate(45);
});
```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 95.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 ~143 days

Total

5

Last Release

4270d ago

### Community

Maintainers

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

---

Top Contributors

[![Anahkiasen](https://avatars.githubusercontent.com/u/1321596?v=4)](https://github.com/Anahkiasen "Anahkiasen (88 commits)")[![arthurdarcet](https://avatars.githubusercontent.com/u/973454?v=4)](https://github.com/arthurdarcet "arthurdarcet (4 commits)")

---

Tags

laravelimagesimaginethumb

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9772.3M122](/packages/roots-acorn)[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.7M64](/packages/spatie-laravel-responsecache)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k14.1M123](/packages/laravel-pulse)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77018.2M122](/packages/laravel-mcp)[api-platform/laravel

API Platform support for Laravel

59156.3k11](/packages/api-platform-laravel)

PHPackages © 2026

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