PHPackages                             ingowalther/image-minify-php-client - 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. ingowalther/image-minify-php-client

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

ingowalther/image-minify-php-client
===================================

PHP Implementation of Image Minify API

0.0.4(10y ago)3271MITPHP

Since Nov 5Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ingowalther/image-minify-php-client)[ Packagist](https://packagist.org/packages/ingowalther/image-minify-php-client)[ RSS](/packages/ingowalther-image-minify-php-client/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (5)Used By (0)

Image Minify PHP Client
=======================

[](#image-minify-php-client)

Basic PHP-Implementation of Image Minify API

see

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

[](#installation)

```
composer require ingowalther/image-minify-php-client
```

Usage
-----

[](#usage)

```
$client = new \IngoWalther\ImageMinifyPhpClient\Client\ImageMinifyApiClient($serverUrl, $apiKey);
```

ParameterDescription$serverUrlThe url of your Image Minify API Installation (e.g. )$apiKeyYour API-Key### Get compressed image

[](#get-compressed-image)

Returns a "[CompressedImage](https://github.com/ingowalther/image-minify-php-client/blob/master/src/IngoWalther/ImageMinifyPhpClient/Response/CompressedImage.php)" Object

```
/** @var \IngoWalther\ImageMinifyPhpClient\Response\CompressedImage $compressedImage */
$compressedImage  = $client->getCompressedImage($imagePath);

// The size before compression
$oldSize = $compressedImage->oldSize;

// The size after compression
$newSize = $compressedImage->newSize;

// The saving in percent
$saving = $compressedImage->saving;

// The binary-content of the compressed image
$binaryContent = $compressedImage->binaryContent;
```

### Write compressed image

[](#write-compressed-image)

Compresses the given image and writes the result to the targetpath

```
$success = $client->writeCompressedImage($imagePath, $newImagePath);
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

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

3888d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/12ad49d695476c7e97f63c6ba0896a60ede92d57a3cdfc5674a91723b702b785?d=identicon)[ingowalther](/maintainers/ingowalther)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ingowalther-image-minify-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/ingowalther-image-minify-php-client/health.svg)](https://phpackages.com/packages/ingowalther-image-minify-php-client)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k39](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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