PHPackages                             ajroudsoftwares/image-cropper - 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. ajroudsoftwares/image-cropper

ActiveSymfony-bundle[Image &amp; Media](/categories/media)

ajroudsoftwares/image-cropper
=============================

image cropper Bundle for Symfony

v1.1(5mo ago)218MITPHPPHP &gt;=8.1

Since Jan 26Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/AjroudSoftwares/image-cropper)[ Packagist](https://packagist.org/packages/ajroudsoftwares/image-cropper)[ Docs](https://ajroudsoftwares.tn)[ RSS](/packages/ajroudsoftwares-image-cropper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (4)Used By (0)

Image Cropper Bundle
====================

[](#image-cropper-bundle)

StateDescriptionBuild[![Build Status](https://github.com/ajroudsoftwares/ImageCropper/actions/workflows/Main_Image_Cropper_Bundle_Workflow.yml/badge.svg)](https://github.com/ajroudsoftwares/ImageCropper/actions/workflows/Main_Image_Cropper_Bundle_Workflow.yml/badge.svg)Coverage[![Coverage Status](https://github.com/ajroudsoftwares/ImageCropper/actions/workflows/Main_Image_Cropper_Bundle_Workflow.yml/badge.svg)](https://github.com/ajroudsoftwares/ImageCropper/actions/workflows/Main_Image_Cropper_Bundle_Workflow.yml/badge.svg)LicenseMITIntroduction
------------

[](#introduction)

The Image Cropper Bundle provides a custom form type that allows you to add a powerful image cropper to your Symfony forms, by integrating [cropperjs](https://fengyuanchen.github.io/cropperjs/).

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

[](#installation)

To install the Image Cropper Bundle, use Composer:

```
composer require ajroudsoftwares/image-cropper
```

and then if you don't have "assets:install" script in your composer.json file, run it manually like this:

```
php bin/console assets:install
```

Usage
-----

[](#usage)

### Image Cropper Type

[](#image-cropper-type)

The `ImageCropperType` form type allows you to add an image cropper to your forms. Here is an example of how to use it:

```
use AjroudSoftwares\ImageCropperBundle\Form\ImageCropperType;
use Symfony\Component\Form\Extension\Core\Type\FormType;
use Symfony\Component\Form\FormBuilderInterface;

class YourFormType extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder->add('image', ImageCropperType::class, [
            'label' => 'Upload and Crop Image',
            'required' => true,
        ]);
    }
}
```

Documentation
-------------

[](#documentation)

For more detailed and configured use cases, please refer to the [documentation](docs/index.md).

Contribute
----------

[](#contribute)

To contribute to the Image Cropper Bundle, follow these steps:

1. Fork the repository.
2. Create a new branch for your feature or bugfix.
3. Make your changes and commit them.
4. Push your changes to your fork.
5. Create a pull request to the main repository.

Please ensure your code follows the [project's coding standards](docs/code_standars.md) and includes appropriate tests, if applicable.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance70

Regular maintenance activity

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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 ~311 days

Total

2

Last Release

167d ago

PHP version history (2 changes)v1.0PHP &gt;=8.3

v1.1PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/551367294973d432916243a36342d5458c6410dfc319b7e6875451ad213fb9fc?d=identicon)[SharkInABottle](/maintainers/SharkInABottle)

---

Top Contributors

[![SharkInABottle](https://avatars.githubusercontent.com/u/76960738?v=4)](https://github.com/SharkInABottle "SharkInABottle (1 commits)")

### Embed Badge

![Health badge](/badges/ajroudsoftwares-image-cropper/health.svg)

```
[![Health](https://phpackages.com/badges/ajroudsoftwares-image-cropper/health.svg)](https://phpackages.com/packages/ajroudsoftwares-image-cropper)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[lexik/translation-bundle

This bundle allows to import translation files content into the database and provide a GUI to edit translations.

4362.7M19](/packages/lexik-translation-bundle)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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