PHPackages                             pluf/imgx - 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. [Caching](/categories/caching)
4. /
5. pluf/imgx

ActiveLibrary[Caching](/categories/caching)

pluf/imgx
=========

Image compressor and optimizer of pluf

7.0.6(5y ago)18144MITPHP

Since Oct 31Pushed 4y ago2 watchersCompare

[ Source](https://github.com/pluf/imgx)[ Packagist](https://packagist.org/packages/pluf/imgx)[ Docs](https://github.com/pluf/imgx)[ RSS](/packages/pluf-imgx/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (9)Versions (9)Used By (0)

Pluf ImgX
=========

[](#pluf-imgx)

Images present a slightly complicated case when it comes to delivering the perfect variation on each device using a CDN. You need to consider the image format, image dimensions, image compression, aspect ratio, and a lot more, while balancing the image's visual quality. Therefore, we need to have a CDN tuned for image delivery. ImgX is the solution.

ImgX is a regular content delivery network topped with a set of software enhancements to enhance the underlying CDNs functionality for optimizing and transforming images in real-time, thereby making it more suitable for image delivery.

This is the most important thing to understand about all the image CDNs out there. They are not an entirely different content delivery network; they are built on top of existing ones with software enhancements required for image optimization.

The Processing As mentioned earlier, we need to add to the content delivery network the unique functionality required for modifying and optimizing the images. This processing functionality would allow you to resize images, crop them, watermark them, and apply visual effects to them.

This functionality is performed via dedicated "processing servers," which are separate from the servers in the content delivery network. The processing servers are the ones doing the heavy lifting in the image CDN setup. These would always be far fewer in number than the servers in a content delivery network and localized in a few regions.

The Storage
-----------

[](#the-storage)

ImgX optimizes and transferes on any image, even the ones that are outside of the image CDN's system.

ImgX comes with a storage or a media library for users to upload and manage images.

These uploaded images can be accessed via the CDN, and can be processed by the processing part of the image CDN.

This media library makes it simple to get started with using the service apart from simplifying image upload and management.

The Processing
--------------

[](#the-processing)

ImgX adds to the content delivery network the unique functionality required for modifying and optimizing the images.

This processing functionality allow you to resize images, crop them, watermark them, and apply visual effects to them.

This functionality is performed via dedicated "processing servers," which are separate from the servers in the content delivery network.

The processing servers are the ones doing the heavy lifting in the image CDN setup. These would always be far fewer in number than the servers in a content delivery network and localized in a few regions.

Quick start
-----------

[](#quick-start)

To run the latest versio of the ImgX execute the following command:

```
docker run \
	-p "80:80" \
	-e "IMGX_ALLOWED_HOST=*" \
	viraweb/imgx:latest

```

And use CURL to check the server:

```
curl \
	--output logo-h100-w100 \
	http://localhost/https://viraweb123.ir/api/v2/cms/contents/logo/content?w=100&h=100

```

Report bugs
-----------

[](#report-bugs)

To report a bug, make an issue on the [github](https://github.com/viraweb/imgx) project

###  Health Score

30

—

LowBetter than 61% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 96.6% 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 ~42 days

Recently: every ~52 days

Total

6

Last Release

1904d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6371551?v=4)[Mostafa Barmshory](/maintainers/mostafabarmshory)[@mostafabarmshory](https://github.com/mostafabarmshory)

---

Top Contributors

[![mostafabarmshory](https://avatars.githubusercontent.com/u/6371551?v=4)](https://github.com/mostafabarmshory "mostafabarmshory (28 commits)")[![hadimansouri](https://avatars.githubusercontent.com/u/8458562?v=4)](https://github.com/hadimansouri "hadimansouri (1 commits)")

---

Tags

content-delivery-networkimage-cdnimage-manipulationimage-processingimgxphpcacheImagifyplufpluf-module

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pluf-imgx/health.svg)

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

###  Alternatives

[awssat/laravel-visits

Laravel Redis visits counter for Eloquent models

975175.4k2](/packages/awssat-laravel-visits)[swayok/alternative-laravel-cache

Replacements for Laravel's redis and file cache stores that properly implement tagging idea. Powered by cache pool implementations provided by http://www.php-cache.com/

202600.2k9](/packages/swayok-alternative-laravel-cache)[pluf/core

Pluf core pakcage

136.8k28](/packages/pluf-core)[eftec/cacheone

A Cache library with minimum dependency

103.5k4](/packages/eftec-cacheone)

PHPackages © 2026

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