PHPackages                             divyeshz/asset-optimizer - 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. divyeshz/asset-optimizer

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

divyeshz/asset-optimizer
========================

A library for optimizing images, videos, and audio, with thumbnail creation and storage features.

v1.0.0(2y ago)114PHPPHP ^8.1

Since Jun 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/divyeshz/asset-optimizer)[ Packagist](https://packagist.org/packages/divyeshz/asset-optimizer)[ RSS](/packages/divyeshz-asset-optimizer/feed)WikiDiscussions master Synced today

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

Asset Optimizer
===============

[](#asset-optimizer)

A PHP library for optimizing images, videos, and audio, with thumbnail creation and storage features. This library is designed to work seamlessly with Laravel and other PHP frameworks.

Features
--------

[](#features)

- Optimize images with custom quality settings
- Optimize videos and resize them
- Optimize audio files
- Create thumbnails for images and videos

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

[](#installation)

You can install this package via Composer.

1. Require the package:

    ```
    composer require divyeshz/asset-optimizer
    ```
2. Publish the configuration file:

    ```
    php artisan vendor:publish --provider="AssetOptimizer\AssetOptimizerServiceProvider"
    ```

Usage
-----

[](#usage)

```
use AssetOptimizer\AssetOptimizer;

$assetOptimizer = new AssetOptimizer();
$assetOptimizer->optimizeImage('/path/to/your/image.jpg', '/path/to/your/destination/image.jpg');
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

743d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/98610a507c7d6c8552d407f61036f63f25d9300aa03f103abd79062dcedeadce?d=identicon)[divyeshm](/maintainers/divyeshm)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/divyeshz-asset-optimizer/health.svg)

```
[![Health](https://phpackages.com/badges/divyeshz-asset-optimizer/health.svg)](https://phpackages.com/packages/divyeshz-asset-optimizer)
```

###  Alternatives

[league/glide

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

2.6k53.3M145](/packages/league-glide)[intervention/image-laravel

Laravel Integration of Intervention Image

1588.9M172](/packages/intervention-image-laravel)[unopim/unopim

UnoPim Laravel PIM

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

Image thumbnail creation through specially formatted URLs for Laravel

506516.3k29](/packages/bkwld-croppa)[laravel-at/laravel-image-sanitize

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

33866.8k](/packages/laravel-at-laravel-image-sanitize)[october/rain

October Rain Library

1601.7M82](/packages/october-rain)

PHPackages © 2026

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