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

ActiveLibrary

asmx/cropper
============

crop images, resize ond fit to size

01PHP

Since Dec 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/asmxaker/CropperFit)[ Packagist](https://packagist.org/packages/asmx/cropper)[ RSS](/packages/asmx-cropper/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

CropperFit
==========

[](#cropperfit)

### Create an image of the desired size with the original ratio and the size to fill the fields with the main color in the image

[](#create-an-image-of-the-desired-size-with-the-original-ratio-and-the-size-to-fill-the-fields-with-the-main-color-in-the-image)

Installation

```
composer require asmx/cropper
```

Usage

```
use Asmx\Cropper\Cropper;

$cropper = new Cropper();

    $cropper->
    from('input_path_file')->
    to('output_path_file')->
    size([600,200])->
    fit();
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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/76629c4f4b0a33d5c69e52368d685d88911579d382f8791007cd0b36291c72e0?d=identicon)[asmX](/maintainers/asmX)

---

Top Contributors

[![asmxaker](https://avatars.githubusercontent.com/u/6175838?v=4)](https://github.com/asmxaker "asmxaker (3 commits)")

---

Tags

image-fitimage-resizephp-gd

### Embed Badge

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

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

PHPackages © 2026

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