PHPackages                             robiussani152/shortpixel-image-compressor - 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. robiussani152/shortpixel-image-compressor

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

robiussani152/shortpixel-image-compressor
=========================================

This package is for optimize image using shortpixel api.

1.0.0(5y ago)06MITPHP

Since Oct 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Robiussani152/shortpixel-image-compressor)[ Packagist](https://packagist.org/packages/robiussani152/shortpixel-image-compressor)[ RSS](/packages/robiussani152-shortpixel-image-compressor/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Image compressor package using short pixel api for laravel
==========================================================

[](#image-compressor-package-using-short-pixel-api-for-laravel)

This package is designed for compress uploaded image.

Requirements
------------

[](#requirements)

1. At least laravel v7
2. Http client

Necessary steps
---------------

[](#necessary-steps)

### 1. Configure `filessystem.php`

[](#1-configure-filessystemphp)

Set `FILESYSTEM_DRIVER` to `public`

### 2. Storage link command

[](#2-storage-link-command)

Run

```
php artisan storage:link
```

### 3. Configure queue to `Database` check it from [Here](https://laravel.com/docs/7.x/queues#driver-prerequisites)

[](#3-configure-queue-to-database-check-it-from-here)

Getting Started
---------------

[](#getting-started)

### 1. Install

[](#1-install)

Run the following command:

```
composer require robiussani152/shortpixel-image-compressor
```

### 2. Register (for Laravel &lt; 5.5)

[](#2-register-for-laravel--55)

Register the service provider in `config/app.php`

```
Robiussani152\ShortPixelImageCompressor\ShortPixelImageCompressorServiceProvider::class,
```

Add alias if you want to use the facade.

```
'ShortPixelImageCompressor' => Robiussani152\ShortPixelImageCompressor\Facades\ShortPixelImageCompressor::class,
```

Usage
-----

[](#usage)

You can use the facade `

```
ShortPixelImageCompressor::compress('path_to_the_image.extension');
```

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](LICENSE) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2049d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/912db77317a45bf18d02bc7f0d082b87ed64a2f92f6b2c2276af9dee17c271f1?d=identicon)[Robiussani152](/maintainers/Robiussani152)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/robiussani152-shortpixel-image-compressor/health.svg)

```
[![Health](https://phpackages.com/badges/robiussani152-shortpixel-image-compressor/health.svg)](https://phpackages.com/packages/robiussani152-shortpixel-image-compressor)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

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

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)

PHPackages © 2026

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