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. [Image &amp; Media](/categories/media)
4. /
5. alvinojutsu/yii2-image-cropper

ActiveYii2-extension[Image &amp; Media](/categories/media)

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 2w ago

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 13% 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://avatars.githubusercontent.com/u/5440699?v=4)[Alvin Indra Cahya](/maintainers/alvinux)[@alvinux](https://github.com/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)
```

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

133890.0k3](/packages/goat1000-svggraph)[imagekit/imagekit

PHP library for Imagekit

46877.3k10](/packages/imagekit-imagekit)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)

PHPackages © 2026

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