leapt / im-bundle
Imagemagick wrapper for Symfony
Requires
- php: ^8.4
- ext-curl: *
- doctrine/orm: ^3.0
- leapt/core-bundle: ^6.0
- symfony/console: ^7.4 || ^8.0
- symfony/css-selector: ^7.4 || ^8.0
- symfony/dom-crawler: ^7.4 || ^8.0
- symfony/filesystem: ^7.4 || ^8.0
- symfony/finder: ^7.4 || ^8.0
- symfony/form: ^7.4 || ^8.0
- symfony/framework-bundle: ^7.4 || ^8.0
- symfony/process: ^7.4 || ^8.0
- twig/twig: ^3.23
Requires (Dev)
- mikey179/vfsstream: ^1.6.11
- phpstan/phpstan: ^2.1.40
- phpstan/phpstan-deprecation-rules: ^2.0.4
- phpunit/phpunit: ^13.0.5
- symfony/browser-kit: ^7.4 || ^8.0
- symplify/easy-coding-standard: ^13.0.4
This package is auto-updated.
Last update: 2026-06-10 13:52:28 UTC
README
This bundle is a fork of the SnowcapImBundle.
Introduction
Imagemagick wrapper for Symfony.
It's a general wrapper to access imagemagick command line functions, instead of using bindings like iMagick, which doesn't cover all the imagemagick functionalities.
It allows you to use all the convert/mogrify power, from your controller or your views
See the Documentation and examples
Versions & dependencies
The current version (6.x) of the bundle works with Symfony 7.4 & 8.0+. The project follows SemVer. Only the last major version is maintained.
You can check the changelog for version 5 and the upgrade document when upgrading from 5.x bundle version.
| ImBundle version | Symfony version | PHP version |
|---|---|---|
| 6.x | ^7.4 || ^8.0 | ^8.4 |
| 5.x | ^6.4 || ^7.0 || ^8.0 | ^8.2 |
| 4.x | ^5.4 || ^6.0 | ^8.0 |
| 3.x | ^4.4 || ^5.0 | ^7.2 || ^8.0 |
| 2.1+ | ^3.3 || ^4.0 | >=5.5 |
| 2.0, < 2.1 | ^2.7 || ^3.0 || ^4.0 | >=5.4 |
| 1.x | ^2.7 | >=5.3.3 |
Contributing
Feel free to contribute, like sending pull requests to add features/tests or creating issues :)
Note there are a few helpers to maintain code quality, that you can run using these commands:
composer cs:dry # Code style check composer phpstan # Static analysis vendor/bin/phpunit # Run tests
Docs are built using mkdocs. To launch the docs server locally, run make docs-start & open http://127.0.0.1:8000/.