PHPackages                             nventify/imagizer-php - 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. nventify/imagizer-php

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

nventify/imagizer-php
=====================

The official PHP Client for the Imagizer Media Engine

v0.1.0(9y ago)2421Apache-2.0PHPPHP &gt;=5.5.9

Since Sep 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Nventify/ImagizerPHP)[ Packagist](https://packagist.org/packages/nventify/imagizer-php)[ RSS](/packages/nventify-imagizer-php/feed)WikiDiscussions master Synced yesterday

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

ImagizerPHP
===========

[](#imagizerphp)

The official PHP Client for the Imagizer Media Engine

The Imagizer Media Engine accelerates media delivery to your mobile Apps or Webpages by dynamically rescaling, cropping, and compressing images in real time. See all Imagizer features in our [Doc](http://demo.imagizercdn.com/doc).

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

[](#installation)

### Using Composer

[](#using-composer)

Define the following requirement in your composer.json file

```
{
    "require": {
        "nventify/imagizer-php": "0.1.*"
    }
}

```

Then include the auto loading path in your application

```
require __DIR__ . '/vendor/autoload.php';
```

Basic Usage
-----------

[](#basic-usage)

Using the free to test Imagizer Demo Service

```
// Initialize the Imagizer Client
$imagizerClient = new Imagizer\Client();

// Since we are using Imagizer Engine Demo Service
// we'll need to specify our Image storage origin
// Imagizer will fetch your images from this endpoint
$imagizerClient->setOriginImageHost("example.com");

// Build a URL with resize and cropping params
// http://example.com/image.jpg?width=400&height=400&crop=fit&dpr=2&hostname=example.com
$imageUrl1 = $imagizerClient->buildUrl("image.jpg", [
    "width" => 400,
    "height" => 500,
    "crop" => "fit"
]);

// Build url with compression
// http://example.com/image.jpg?quality=55&hostname=example.com
$imageUrl2 = $imagizerClient->buildUrl("image.jpg", [
    "quality" => 55
]);
```

Using your own Imagizer Instance

```
// Initialize the Imagizer Client
$imagizerClient = new Imagizer\Client("your-imagizer-instance.example.com");

// Build a URL with resize and cropping params
// http://your-imagizer-instance.example.com/image.jpg?width=400&height=400&crop=fit&dpr=2
$imageUrl1 = $imagizerClient->buildUrl("image.jpg", [
    "width" => 400,
    "height" => 500,
    "crop" => "fit"
]);

// Build url with compression
// http://your-imagizer-instance.example.com/image.jpg?quality=55
$imageUrl2 = $imagizerClient->buildUrl("image.jpg", [
    "quality" => 55
]);
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

3570d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2287963?v=4)[Nicholas Pettas](/maintainers/nibty)[@nibty](https://github.com/nibty)

---

Top Contributors

[![nibty](https://avatars.githubusercontent.com/u/2287963?v=4)](https://github.com/nibty "nibty (4 commits)")[![tommygaessler](https://avatars.githubusercontent.com/u/5123292?v=4)](https://github.com/tommygaessler "tommygaessler (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nventify-imagizer-php/health.svg)

```
[![Health](https://phpackages.com/badges/nventify-imagizer-php/health.svg)](https://phpackages.com/packages/nventify-imagizer-php)
```

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

133890.0k3](/packages/goat1000-svggraph)[imagekit/imagekit

PHP library for Imagekit

46877.3k10](/packages/imagekit-imagekit)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)

PHPackages © 2026

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