PHPackages                             yaro/cropp - 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. yaro/cropp

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

yaro/cropp
==========

Image manipulations on-the-fly for Laravel 5

0.1.1(10y ago)6913MITPHP

Since Jul 12Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Cherry-Pie/Cropp)[ Packagist](https://packagist.org/packages/yaro/cropp)[ RSS](/packages/yaro-cropp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Cropp
=====

[](#cropp)

Laravel 5 package for image manipulations on-the-fly.

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

[](#installation)

You can install the package through Composer.

```
composer require yaro/cropp
```

You must install this service provider.

```
// Laravel 5: config/app.php
'providers' => [
    //...
    Yaro\Cropp\ServiceProvider::class,
    //...
];
```

Then publish the config file of the package using artisan.

```
php artisan vendor:publish --provider="Yaro\Cropp\ServiceProvider"
```

This package comes with [Intervention Image](http://image.intervention.io/) package, so publish its configs too.

```
php artisan vendor:publish --provider="Intervention\Image\ImageServiceProviderLaravel5"
```

> There is no need to add Intervention Image service provider in 'providers' array.

Usage
-----

[](#usage)

Simple wrap ypur image source on `cropp` function and call api methods.

```

//
```

Or not to wrap result on `asset`:

```

//
```

To get generated source path use `src` method:

```
$thumbPath = cropp('image.jpg')->invert()->fit(320, 200)->src();
```

You can also initialise Cropp without helper function:

```
use Yaro\Cropp\Cropp;

$cropp = new Cropp('image.jpg', false);
$src = $cropp->fit(320, 200)->src();
echo $src; // /storage/cropp/44aead54d338966bca06535d34edc3ae.jpg
// or
$src = Cropp::make('image.jpg')->fit(320, 200)->src();
echo $src; // http://example.com/storage/cropp/61bb83eae21cb5559fe0c583f14b0374.jpg
```

API
---

[](#api)

All manipulation methods is provided by [Intervention Image](http://image.intervention.io/) package.

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](https://github.com/Cherry-Pie/Cropp/blob/master/LICENSE) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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

Total

3

Last Release

3760d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/337e05205184d845261f639b74255dedc7c3e75f069a38e79aa8083e91cf5a90?d=identicon)[Cherry Pie](/maintainers/Cherry%20Pie)

---

Top Contributors

[![Cherry-Pie](https://avatars.githubusercontent.com/u/3027596?v=4)](https://github.com/Cherry-Pie "Cherry-Pie (8 commits)")

---

Tags

laravelimagethumbmanipulations

### Embed Badge

![Health badge](/badges/yaro-cropp/health.svg)

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

###  Alternatives

[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[intervention/image-laravel

Laravel Integration of Intervention Image

1536.5M102](/packages/intervention-image-laravel)[joshembling/image-optimizer

Optimize your Filament images before they reach your database.

111145.4k12](/packages/joshembling-image-optimizer)[rolandstarke/laravel-thumbnail

Laravel Thumbnail generator

52140.6k](/packages/rolandstarke-laravel-thumbnail)[reliqarts/laravel-guided-image

Simplified and ready image manipulation for Laravel via intervention image.

351.4k](/packages/reliqarts-laravel-guided-image)[danihidayatx/image-optimizer

Optimize your Filament images before they reach your database. Forked from joshembling/image-optimizer for Filament v4 &amp; v5 support.

254.4k](/packages/danihidayatx-image-optimizer)

PHPackages © 2026

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