PHPackages                             itf/vich-imagine-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. [File &amp; Storage](/categories/file-storage)
4. /
5. itf/vich-imagine-bundle

ActiveLibrary[File &amp; Storage](/categories/file-storage)

itf/vich-imagine-bundle
=======================

Easy integration of VichUploaderBundle (upload) and LiipImagineBundle (processor)

0.1.4(10y ago)88493[1 issues](https://github.com/RSSfeed/VichImagineBundle/issues)MITPHPPHP &gt;=5.3

Since Nov 16Pushed 6y ago2 watchersCompare

[ Source](https://github.com/RSSfeed/VichImagineBundle)[ Packagist](https://packagist.org/packages/itf/vich-imagine-bundle)[ RSS](/packages/itf-vich-imagine-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

VichImagineBundle
=================

[](#vichimaginebundle)

This bundle integrates VichUploaderBundle as uploader and LiipImagineBundle as processor (resize etc.) component.

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

[](#installation)

```
composer require itf/vich-imagine-bundle "dev-master"
php app/console assets:install
```

Activate the bundles in AppKernel.php:

```
public function registerBundles() {
    $bundles = array(
        //[...]
        new Liip\ImagineBundle\LiipImagineBundle(),
        new Vich\UploaderBundle\VichUploaderBundle(),

        new VichImagineBundle\VichImagineBundle(),
    ),
    // ...
}
```

Configure VichUploaderBundle
----------------------------

[](#configure-vichuploaderbundle)

Refer to its [documentation](https://github.com/dustin10/VichUploaderBundle) to configure this bundle. Here's an example:

```
vich_uploader:
    db_driver: orm # or mongodb or propel or phpcr
    mappings:
        product_image:
            uri_prefix:         /images/products
            upload_destination: %kernel.root_dir%/../web/images/products
            namer: vich.custom.random_namer
```

Configure LiipImagineBundle
---------------------------

[](#configure-liipimaginebundle)

Refer to its [documentation](https://github.com/liip/LiipImagineBundle) to configure this bundle. Here's an example:

```
liip_imagine:
    resolvers:
        default:
            web_path:
                web_root: %kernel.root_dir%/../web
                cache_prefix: cache/
    loaders:
        default:
            filesystem:
                data_root: %kernel.root_dir%/../web/
    driver:               gd
    cache:                default
    data_loader:          default
    default_image:        null
    controller:
        filter_action:         liip_imagine.controller:filterAction
        filter_runtime_action: liip_imagine.controller:filterRuntimeAction
    filter_sets:
        product_image:
            filters:
                jpeg_quality: 75
                #png_compression_level:  ~
                format: jpg
                relative_resize: { widen: 800 }
```

Configuration Example
---------------------

[](#configuration-example)

- Configuration example: [config\_sample.yml](https://github.com/RSSfeed/VichImagineBundle/blob/master/Resources/config/config_sample.yml)
- Entity example: [Image.php](https://github.com/RSSfeed/VichImagineBundle/blob/master/Entity/Image.php)
- FormType example: [ImageType.php](https://github.com/RSSfeed/VichImagineBundle/blob/master/Form/ImageType.php)

That's it.

License
-------

[](#license)

MIT

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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 ~31 days

Total

5

Last Release

3701d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ba26a2fe44d50236d67d332a0b0f15e92017544ba6475e13f619695c7cbd5d75?d=identicon)[interface-f](/maintainers/interface-f)

---

Top Contributors

[![dswbx](https://avatars.githubusercontent.com/u/4246696?v=4)](https://github.com/dswbx "dswbx (10 commits)")[![myrkox](https://avatars.githubusercontent.com/u/6040258?v=4)](https://github.com/myrkox "myrkox (1 commits)")

### Embed Badge

![Health badge](/badges/itf-vich-imagine-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/itf-vich-imagine-bundle/health.svg)](https://phpackages.com/packages/itf-vich-imagine-bundle)
```

###  Alternatives

[presta/image-bundle

PrestaImageBundle is a Symfony bundle providing tools to resize uploaded and remote images before sending them through a classic form.

24155.9k](/packages/presta-image-bundle)[jbouzekri/file-uploader-bundle

Aggregate some bundles and libraries to provide easy ajax file upload integration with functionnalities like image croping or storage on amazon

258.1k2](/packages/jbouzekri-file-uploader-bundle)

PHPackages © 2026

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