PHPackages                             le0daniel/laravel-image-engine - 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. le0daniel/laravel-image-engine

ActiveLibrary

le0daniel/laravel-image-engine
==============================

Integration of automatic image manipulation and serving

v2.3.0(5y ago)050MITPHPPHP ^7.4CI failing

Since Oct 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/le0daniel/laravel-image-engine)[ Packagist](https://packagist.org/packages/le0daniel/laravel-image-engine)[ RSS](/packages/le0daniel-laravel-image-engine/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (6)Versions (13)Used By (0)

Laravel Image Engine
====================

[](#laravel-image-engine)

[![Tests](https://github.com/le0daniel/laravel-image-engine/workflows/Tests/badge.svg?event=push)](https://github.com/le0daniel/laravel-image-engine/workflows/Tests/badge.svg?event=push)

Powerful Image engine for Laravel. Don't waste your time, writing logic to resize and transform images.

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

[](#installation)

```
composer require le0daniel/laravel-image-engine

```

After that, publish the configuration file using

```
artisan vendor:publish

```

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

[](#configuration)

Configure the desired file sizes your application should provide in your configuration file.

Make sure all the required paths exist within your `image-engine.php` configuration file.

Usage
-----

[](#usage)

The image engine is based on the `ImageRepresentation` class.

```
use Carbon\Carbon;use le0daniel\Laravel\ImageEngine\Image\ImageRepresentation;

$image = ImageRepresentation::from(
    'file/path/relative/to/disk',
    'medium', // Desired image size defined in config
    null,     // Expire Timestamp or Carbon
    'local'   // name of the storage disk where the image is located
);

$imgUrl = image_url($image, 'png' /* Desired output format: jpg | png */);
```

This will generate an Image URL for you, which is signed. The image is only converted on demand, as soon as the first request is made to this url. The Image will be converted by Intervention Image to the specified format.

For better performance, the images are stored in the public folder. This enables nginx to serve the files once they have been generated. If the Image has an expirey date, the image is stored in the defined path from your config. In this case, php will serve the image, even tho it has been cached.

If you need a file for local processing (Ex: send in an email), simply use:

```
image_real_path($image, 'png');
```

This will return the local path of the converted image for you.

###  Health Score

28

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Recently: every ~0 days

Total

12

Last Release

2077d ago

Major Versions

v1.1.1 → v2.0.02020-07-11

PHP version history (2 changes)v1.0PHP ^7.2

v2.0.0PHP ^7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f0cb5b4dd6c1e15efdfd85e7dee33988f2b9fb84b4ed6ed340d6c26b4d6e1bf?d=identicon)[leodaniel](/maintainers/leodaniel)

---

Top Contributors

[![le0daniel](https://avatars.githubusercontent.com/u/11374766?v=4)](https://github.com/le0daniel "le0daniel (23 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/le0daniel-laravel-image-engine/health.svg)

```
[![Health](https://phpackages.com/badges/le0daniel-laravel-image-engine/health.svg)](https://phpackages.com/packages/le0daniel-laravel-image-engine)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.1k159.1k7](/packages/bagisto-bagisto)[gitscrum-community-edition/laravel-gitscrum

GitScrum is a project to help developer team. Git + Scrum = Team More Productive

2.9k2.0k](/packages/gitscrum-community-edition-laravel-gitscrum)[fisharebest/webtrees

webtrees online genealogy

72910.3k6](/packages/fisharebest-webtrees)[flex/blog

An Elegant Blog System

1231.1k](/packages/flex-blog)

PHPackages © 2026

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