leapt/im-bundle

Imagemagick wrapper for Symfony

Installs: 14 277

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Type:symfony-bundle

v4.1.1 2022-05-19 16:11 UTC

README

Package version Build Status PHP Version License Code coverage

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 (4.x) of the bundle works with Symfony 5.4 & Symfony 6.0+. The project follows SemVer.

You can check the changelog for version 4 and the upgrade document when upgrading from 3.x bundle version.

ImBundle version Symfony version PHP version
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/.