PHPackages                             ybert/imagify-bundle - 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. ybert/imagify-bundle

ActiveSymfony-bundle[Image &amp; Media](/categories/media)

ybert/imagify-bundle
====================

Symfony bundle for Imagify

V1.0.0(9y ago)110MITPHP

Since Oct 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ybert/imagify-bundle)[ Packagist](https://packagist.org/packages/ybert/imagify-bundle)[ RSS](/packages/ybert-imagify-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

imagify-bundle
==============

[](#imagify-bundle)

This bundle integrates [Imagify PHP](https://github.com/wp-media/imagify-php) in [the Symfony framework](http://symfony.com).

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

[](#installation)

Use [Composer](http://getcomposer.org) to install the bundle:

`composer require ybert/imagify-bundle`

Then, update your `app/config/AppKernel.php` file:

```
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Ybert\ImagifyBundle\YbertImagifyBundle(),
            // ...
        );

        return $bundles;
    }
```

Configure the bundle in `app/config/config.yml`:

```
ybert_imagify:
    apiKey: %imagify_apiKey%
```

Finally, update your `app/config/parameters.yml` file to store your Imagify API credentials:

```
parameters:
    # ...
    imagify_apiKey: MyAPIKey
```

Usage
-----

[](#usage)

The bundle automatically registers a `ybert_imagify.optimizer` service in the Dependency Injection Container. That service is an instance of `Imagify\Optimizer`.

Example usage in a controller:

```
// ...

    public function optimizeImage()
    {
        /**
         * Get the Imagify service
         *
         * @var \Imagify\Optimizer $imagify
         */
        $imagify = $this->get('ybert_imagify.optimizer');
        $param = array(
            "level"=> 'ultra',
            "resize"=> array("width"=> 50),
        );
        $image = '1.jpg';
        $result = $imagify->optimize($image, $param);
    }

// ...
}
```

For further use, please read the [Imagify API documentation](https://imagify.io/docs/api/?php#upload-and-optimize-an-image)
===========================================================================================================================

[](#for-further-use-please-read-the-imagify-api-documentation)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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 ~11 days

Total

2

Last Release

3488d ago

Major Versions

v0.1 → V1.0.02016-10-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b0eedfeb839f46a7b22a9efb1e2e061059bd195140f280e4787bcc6fe615276?d=identicon)[ybert](/maintainers/ybert)

---

Top Contributors

[![ybert](https://avatars.githubusercontent.com/u/2513558?v=4)](https://github.com/ybert "ybert (9 commits)")

---

Tags

imageresizeoptimizeImagify

### Embed Badge

![Health badge](/badges/ybert-imagify-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ybert-imagify-bundle/health.svg)](https://phpackages.com/packages/ybert-imagify-bundle)
```

###  Alternatives

[intervention/image

PHP Image Processing

14.3k194.3M2.2k](/packages/intervention-image)[gumlet/php-image-resize

PHP class to re-size and scale images

1.2k5.7M54](/packages/gumlet-php-image-resize)[masterexploder/phpthumb

A library for manipulating images in PHP.

981751.7k17](/packages/masterexploder-phpthumb)[sybio/image-workshop

Powerful PHP class using GD library to work easily with images including layer notion (like Photoshop or GIMP)

860918.1k11](/packages/sybio-image-workshop)[intervention/image-laravel

Laravel Integration of Intervention Image

1496.5M102](/packages/intervention-image-laravel)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)

PHPackages © 2026

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