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 yesterday

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 47% 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

3535d ago

Major Versions

v0.1 → V1.0.02016-10-26

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2513558?v=4)[ybert](/maintainers/ybert)[@ybert](https://github.com/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

[shopware/storefront

Storefront for Shopware

684.6M228](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M552](/packages/shopware-core)[ecotone/symfony-bundle

Ecotone for Symfony — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Symfony Messenger, via PHP attributes.

11249.0k1](/packages/ecotone-symfony-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k59](/packages/open-dxp-opendxp)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

16126.1k1](/packages/symfony-ux-toolkit)[intervention/image-symfony

Symfony Integration of Intervention Image

1097.0k](/packages/intervention-image-symfony)

PHPackages © 2026

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