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

ActiveYii2-extension

alvinojutsu/yii2-image-cropper
==============================

yii2 image cropper

15.0k[1 issues](https://github.com/alvinux/yii2-image-cropper/issues)PHP

Since May 11Pushed 9y ago2 watchersCompare

[ Source](https://github.com/alvinux/yii2-image-cropper)[ Packagist](https://packagist.org/packages/alvinojutsu/yii2-image-cropper)[ RSS](/packages/alvinojutsu-yii2-image-cropper/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

yii2 image cropper
==================

[](#yii2-image-cropper)

yii2 image cropper

this repo is modification from

thanks to [@lephuong](https://github.com/phuong17889)

Enhancement
-----------

[](#enhancement)

- Crop 1 image multiple size
- Thumbnail default size

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist alvinojutsu/yii2-image-cropper "*"

```

or add

```
"alvinojutsu/yii2-image-cropper": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

Without $model

```

```

With $model

```

```

Screenshot
----------

[](#screenshot)

- Default without image
    [![without image](/screenshot/screencapture-none-1494417907850.png?raw=true "image empty")](/screenshot/screencapture-none-1494417907850.png?raw=true)

---

- With image
    [![with image](/screenshot/screencapture-true-1494417965449.png?raw=true "image selected")](/screenshot/screencapture-true-1494417965449.png?raw=true)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/95aa81d1a83b16b6d297e77d253b7adc72ad1d62f71cf37f64c3af1d616498b7?d=identicon)[alvinux](/maintainers/alvinux)

---

Top Contributors

[![alvinux](https://avatars.githubusercontent.com/u/5440699?v=4)](https://github.com/alvinux "alvinux (10 commits)")

### Embed Badge

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

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

PHPackages © 2026

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