leapt/im-bundle

Imagemagick wrapper for Symfony

Installs: 15 158

Dependents: 1

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 1

Open Issues: 0

Type:symfony-bundle

v5.1.0 2024-02-08 08:01 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 (5.x) of the bundle works with Symfony 6.4 & Symfony 7.0+. The project follows SemVer.

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

ImBundle version Symfony version PHP version
5.x ^6.4 || ^7.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/.