PHPackages                             phuongnamsoft/laravel-admin-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. phuongnamsoft/laravel-admin-cropper

ActiveLibrary[Image &amp; Media](/categories/media)

phuongnamsoft/laravel-admin-cropper
===================================

Integrate Cropper into laravel-admin

1.0(6y ago)04MITPHPPHP &gt;=7.0.0CI failing

Since Feb 26Pushed 6y ago1 watchersCompare

[ Source](https://github.com/phuongnamsoft/laravel-admin-cropper)[ Packagist](https://packagist.org/packages/phuongnamsoft/laravel-admin-cropper)[ Docs](https://github.com/phuongnamsoft/laravel-admin-cropper)[ RSS](/packages/phuongnamsoft-laravel-admin-cropper/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (2)Used By (0)

cropper extension for laravel-admin
===================================

[](#cropper-extension-for-laravel-admin)

This is a `laravel-admin` extension to integrate` cropper` into the form of `laravel-admin`

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

[](#installation)

```
composer require laravel-admin-ext/cropper
```

Then...

```
php artisan vendor:publish --tag=laravel-admin-cropper
```

Configuration
-------------

[](#configuration)

In the `extensions` of the` config/admin.php` file, add some configuration belonging to this extension:

```
    'extensions' => [

        'cropper' => [

			// If you want to turn off this extension, set to false
            'enable' => true,
        ]
    ]
```

Usage:
------

[](#usage)

Use it in form：

```
$form->cropper('content','label');
```

The default mode is free crop mode, if you need to force crop size, please use (note that this size is the final picture size not "scale")

```
$form->cropper('content','label')->cRatio($width,$height);
```

PS (feature read ahead)
-----------------------

[](#ps-feature-read-ahead)

1. The picture is not pre-uploaded, but the input is input after the front end is converted to base64, and the server returns the image to save it.
2. The picture format is saved by default. That is, if the original image is a png image with a transparent background, it will still be a png image with a transparent background after saving, and it will not be lost (front-end logo artifact)
3. The extension can be called multiple times. Can be transferred multiple times in the same form without interfering with each other.
4. Extend the ImageField and File classes of laravel-admin. So you don't have to worry about modifying and deleting pictures. They are all automatic. Of course, since the ImageField class is inherited, you can also use the various (crop, fit, insert) methods of "intervention/image" (Provided that you have `composer require intervention/image`)

License
-------

[](#license)

Licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

2268d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bca7b7f1436b5da8de0666fe6150c61704e07c73d25322f1eeeacd2778dc9823?d=identicon)[pns](/maintainers/pns)

---

Top Contributors

[![phuongnamsoft](https://avatars.githubusercontent.com/u/4836324?v=4)](https://github.com/phuongnamsoft "phuongnamsoft (2 commits)")

---

Tags

imageextensionenglishlaravel-admincropper

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phuongnamsoft-laravel-admin-cropper/health.svg)

```
[![Health](https://phpackages.com/badges/phuongnamsoft-laravel-admin-cropper/health.svg)](https://phpackages.com/packages/phuongnamsoft-laravel-admin-cropper)
```

###  Alternatives

[laravel-admin-ext/cropper

Integrate Cropper into laravel-admin

7233.5k](/packages/laravel-admin-ext-cropper)[laravel-admin-ext/media-player

Intergrates mediaelement into laravel-admin

3253.7k](/packages/laravel-admin-ext-media-player)[bilginnet/yii2-cropper

Yii2 Bootstrap Cropper Input Widget

2232.1k](/packages/bilginnet-yii2-cropper)[simonvomeyser/commonmark-ext-lazy-image

Adds support for lazy images to the phpleague/commonmark markdown parser package

1821.3k1](/packages/simonvomeyser-commonmark-ext-lazy-image)[maxmirazh33/yii2-uploadable-cropable-image

Yii2 extension for upload and crop images

1020.8k](/packages/maxmirazh33-yii2-uploadable-cropable-image)[somehow-digital/typo3-media-processing

Media Processing

101.1k](/packages/somehow-digital-typo3-media-processing)

PHPackages © 2026

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