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 2w ago

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

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

789d 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.6k54.0M161](/packages/league-glide)[azuracast/azuracast

The AzuraCast self-hosted web radio station management suite.

4.0k27.9k](/packages/azuracast-azuracast)[intervention/image-laravel

Laravel Integration of Intervention Image

1589.8M226](/packages/intervention-image-laravel)[unopim/unopim

UnoPim Laravel PIM

10.8k2.5k](/packages/unopim-unopim)[code16/sharp

Laravel Content Management Framework

79466.1k10](/packages/code16-sharp)[mostafaznv/larupload

Larupload is a ORM based file uploader for laravel to upload image, video, audio and other known files.

75487.1k6](/packages/mostafaznv-larupload)

PHPackages © 2026

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