PHPackages                             luova/imageoptimizer - 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. luova/imageoptimizer

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

luova/imageoptimizer
====================

Image Optimize in your Laravel aplication

v1.0.3(3y ago)38MITPHP

Since Sep 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hm91hassan/image-optimizer-laravel)[ Packagist](https://packagist.org/packages/luova/imageoptimizer)[ RSS](/packages/luova-imageoptimizer/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (5)Used By (0)

Image Optimizer Laravel
=======================

[](#image-optimizer-laravel)

Symple Image Optimizer for laravel

[![Latest Stable Version](https://camo.githubusercontent.com/8ca5726e25b63585549c4091c6394be6c341fae270a6709cfeff7405868c8e77/68747470733a2f2f706f7365722e707567782e6f72672f6c756f76612f696d6167656f7074696d697a65722f762f737461626c65)](https://packagist.org/packages/luova/imageoptimizer)[![Total Downloads](https://camo.githubusercontent.com/0408d12ca03176b2be84198b4445c75e5ce78e5a2899c4e56f7064b634d46700/68747470733a2f2f706f7365722e707567782e6f72672f6c756f76612f696d6167656f7074696d697a65722f646f776e6c6f616473)](https://packagist.org/packages/luova/imageoptimizer)[![Latest Unstable Version](https://camo.githubusercontent.com/1f2d16e5c057a3c49494615c877150f9861ea7e63a7f6555875d9018b68d3eb2/68747470733a2f2f706f7365722e707567782e6f72672f6c756f76612f696d6167656f7074696d697a65722f762f756e737461626c65)](https://packagist.org/packages/luova/imageoptimizer)[![License](https://camo.githubusercontent.com/86698409cf58a8407c0677955ba7b2f3e2fc54897b12fd4b2f7d90fc933d1f74/68747470733a2f2f706f7365722e707567782e6f72672f6c756f76612f696d6167656f7074696d697a65722f6c6963656e7365)](https://packagist.org/packages/luova/imageoptimizer)[![Monthly Downloads](https://camo.githubusercontent.com/7ee51c80a2fa65b91e75645c0754ae423211a09e92634b897ce2e5aeb0e56698/68747470733a2f2f706f7365722e707567782e6f72672f6c756f76612f696d6167656f7074696d697a65722f642f6d6f6e74686c79)](https://packagist.org/packages/luova/imageoptimizer)[![Daily Downloads](https://camo.githubusercontent.com/8f08944b8de4ca25727c9edc6ea98b2d5abc5b6e916e0c699abcc7c23c776a47/68747470733a2f2f706f7365722e707567782e6f72672f6c756f76612f696d6167656f7074696d697a65722f642f6461696c79)](https://packagist.org/packages/luova/imageoptimizer)[![composer.lock](https://camo.githubusercontent.com/7e7cf057ec544202ef7423b8d03116f5204d4433770a7aa1de75c13f723c9c2c/68747470733a2f2f706f7365722e707567782e6f72672f6c756f76612f696d6167656f7074696d697a65722f636f6d706f7365726c6f636b)](https://packagist.org/packages/luova/imageoptimizer)

Installation
============

[](#installation)

```
composer require luova/imageoptimizer
```

Usage
=====

[](#usage)

1 ) if you are using Laravel before version 5.4, manually register the service provider in your config/app.php file
-------------------------------------------------------------------------------------------------------------------

[](#1--if-you-are-using-laravel-before-version-54-manually-register-the-service-provider-in-your-configappphp-file)

```
Luova\ImageOptimizer\ImageOptimizerServiceProvider::class,
```

2 ) Here's how you can use it:
------------------------------

[](#2--heres-how-you-can-use-it)

```
    use Luova\ImageOptimizer\Optimizer;

    $optimizer = new Optimizer();
    // first parameter for image file path, second parameter for where you want save optimize image and third parameter for image qualify

    // the image will be replaced with an optimized version which should be smaller
    $info = $optimizer->optimize($file);
    // if you use a second parameter the package will not modify the original
    $info = $optimizer->optimize($file, $optimize_path);
     // if you use a third parameter for image qualify
    $info = $optimizer->optimize($file, $optimize_path,80);
```

Any query
=========

[](#any-query)

-

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Total

4

Last Release

1389d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fed97bd56a53bea2a44bc8d6fff0e61652ad25a8b6545db01772a285498d488?d=identicon)[luova](/maintainers/luova)

---

Top Contributors

[![hm91hassan](https://avatars.githubusercontent.com/u/53993527?v=4)](https://github.com/hm91hassan "hm91hassan (8 commits)")

### Embed Badge

![Health badge](/badges/luova-imageoptimizer/health.svg)

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

###  Alternatives

[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495240.6k1](/packages/char0n-ffmpeg-php)[goat1000/svggraph

Generates SVG graphs

135911.1k3](/packages/goat1000-svggraph)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)[rsoury/wp-imgix

Rewrites WordPress image URLs to use ImgIX

167.2k](/packages/rsoury-wp-imgix)

PHPackages © 2026

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