PHPackages                             apanaj/client-optimager - 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. apanaj/client-optimager

ActiveLibrary

apanaj/client-optimager
=======================

Client For Image Optimizer Service.

162PHP

Since Oct 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/apanaj/client-optimizer-image)[ Packagist](https://packagist.org/packages/apanaj/client-optimager)[ RSS](/packages/apanaj-client-optimager/feed)WikiDiscussions devel Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

client-optimizer-image
======================

[](#client-optimizer-image)

php client for image optimizer service.

```
// Resize Image:
// from url
$c = new \Apanaj\Optimager\Client('http://apanaj_optimizer-image');
$img = $c->optimize(
    (new \Apanaj\Optimager\Client\Command\Optimize())
        ->fromUrl('https://helloworld.co.nz/images/helloworld-logo.jpg')
        ->crop(90, 90)
        ->quality(100)
);

header('Content-Type: image/jpeg');
echo stream_get_contents($img);
die;

// Resize Image:
// from stream or file
$c = new \Apanaj\Optimager\Client('http://apanaj_optimizer-image');
$img = $c->optimize(
    (new \Apanaj\Optimager\Client\Command\Optimize())
        ->fromStream(fopen('https://helloworld.co.nz/images/helloworld-logo.jpg', 'rb'))
        ->resize(90, 90)
        ->quality(100)
);
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1f784f9dfb58e36b6a876f3057e5664bb904af71d30bb2023583118138dffe9a?d=identicon)[Payam](/maintainers/Payam)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/apanaj-client-optimager/health.svg)

```
[![Health](https://phpackages.com/badges/apanaj-client-optimager/health.svg)](https://phpackages.com/packages/apanaj-client-optimager)
```

PHPackages © 2026

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