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 3d 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 43% 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

2930d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/50bdb9b487a26e3beaa788228d0210aeade1d63c914a37cda55bcf30f3877f01?d=identicon)[hubertnnn](/maintainers/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.6k51.2M116](/packages/league-glide)[jenssegers/imagehash

Perceptual image hashing for PHP

2.1k2.2M5](/packages/jenssegers-imagehash)[intervention/image-laravel

Laravel Integration of Intervention Image

1496.5M102](/packages/intervention-image-laravel)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[lasserafn/php-initial-avatar-generator

A package to generate avatars with initials for PHP

4374.2M13](/packages/lasserafn-php-initial-avatar-generator)[rtippin/messenger

Laravel messenger suite.

45035.8k4](/packages/rtippin-messenger)

PHPackages © 2026

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