PHPackages                             hubertnnn/imaginator - 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. hubertnnn/imaginator

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

hubertnnn/imaginator
====================

Image processor and provider

0.2.0(8y ago)02371[1 issues](https://github.com/hubertnnn/imaginator/issues)MITPHP

Since May 7Pushed 8y ago2 watchersCompare

[ Source](https://github.com/hubertnnn/imaginator)[ Packagist](https://packagist.org/packages/hubertnnn/imaginator)[ RSS](/packages/hubertnnn-imaginator/feed)WikiDiscussions master Synced 2w ago

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

Imaginator
==========

[](#imaginator)

### This package is not finished yet

[](#this-package-is-not-finished-yet)

This package adds an easy to use and secure way of providing scaled images.

Current version can only be used with laravel, but there are plans to make it framework agnostic in the future.

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

[](#installation)

Install using composer:

```
composer require hubertnnn/imaginator

```

Then publish laravel config file:

```
php artisan vendor:publish --provider="HubertNNN\Imaginator\Integration\Laravel\ImaginatorServiceProvider" --tag="config"

```

For laravel versions below 5.5 you need to register the provider and facade. To do so add the ServiceProvider to the providers array in `config/app.php`:

```
HubertNNN\Imaginator\Integration\Laravel\ImaginatorServiceProvider::class,

```

and Facade to the facades array in the same file

```
'Imaginator' => HubertNNN\Imaginator\Integration\Laravel\ImaginatorFacade::class,

```

Configuration
-------------

[](#configuration)

All configuration is done using `config/imaginator.php` file. Each option is documented inside the file.

Basic configuration requires you to setup providers and formats. The default file contains example configuration.

Usage
-----

[](#usage)

You can create an image link using following commands:

```
Imaginator::entity($entity, $format, $optionalEntityType);
Imaginator::image($type, $instance, $format);

```

For example:

```
$user = User::first();
echo Imaginator::entity($user, '800x600');

```

If single entity provides more than 1 image (eg. user can have an avatar and a picture), you can use the optional parameter to choose what image are you interested in. Here is an example of usage in blade view.

```

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

2

Last Release

2975d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1189576?v=4)[hubertnnn](/maintainers/hubertnnn)[@hubertnnn](https://github.com/hubertnnn)

---

Top Contributors

[![hubertnnn](https://avatars.githubusercontent.com/u/1189576?v=4)](https://github.com/hubertnnn "hubertnnn (17 commits)")

### Embed Badge

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

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

###  Alternatives

[league/glide

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

2.6k52.6M138](/packages/league-glide)[intervention/image-laravel

Laravel Integration of Intervention Image

1558.1M160](/packages/intervention-image-laravel)[unopim/unopim

UnoPim Laravel PIM

10.5k2.2k](/packages/unopim-unopim)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

506511.0k27](/packages/bkwld-croppa)[intervention/image-driver-vips

libvips driver for Intervention Image

47144.1k10](/packages/intervention-image-driver-vips)[laravel-at/laravel-image-sanitize

A small but handy package to prevent malicious code execution coming into your application through uploaded image files.

29063.8k](/packages/laravel-at-laravel-image-sanitize)

PHPackages © 2026

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