PHPackages                             trismegiste/smart-crop - 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. trismegiste/smart-crop

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

trismegiste/smart-crop
======================

Image smart crop filter based on entropy

v1.0(4y ago)2116MITPHP

Since Dec 22Pushed 4y agoCompare

[ Source](https://github.com/Trismegiste/PHP-Smart-Crop)[ Packagist](https://packagist.org/packages/trismegiste/smart-crop)[ RSS](/packages/trismegiste-smart-crop/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

PHP-Smart-Crop
==============

[](#php-smart-crop)

A GD2 method for smart resizing and cropping, based on entropy and color of the image.

Overhaul of [gschoppe/PHP-Smart-Crop](https://github.com/gschoppe/PHP-Smart-Crop) :

- PSR-4
- namespace
- autoload
- phpunit tests
- composer

Install
-------

[](#install)

With composer :

```
$ composer require trismegiste/smart-crop

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

1599d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64cc99ca21a090b2454784670e4ac49db17794d6861078eeceebdbe302365c3f?d=identicon)[trismegiste](/maintainers/trismegiste)

---

Top Contributors

[![Trismegiste](https://avatars.githubusercontent.com/u/1260026?v=4)](https://github.com/Trismegiste "Trismegiste (7 commits)")[![gschoppe](https://avatars.githubusercontent.com/u/133798?v=4)](https://github.com/gschoppe "gschoppe (6 commits)")[![seltix5](https://avatars.githubusercontent.com/u/11258096?v=4)](https://github.com/seltix5 "seltix5 (2 commits)")[![Viper007Bond](https://avatars.githubusercontent.com/u/406254?v=4)](https://github.com/Viper007Bond "Viper007Bond (1 commits)")

---

Tags

entropyfiltergd2imageshannon-rulez

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/trismegiste-smart-crop/health.svg)

```
[![Health](https://phpackages.com/badges/trismegiste-smart-crop/health.svg)](https://phpackages.com/packages/trismegiste-smart-crop)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k22](/packages/bkwld-croppa)[marc1706/fast-image-size

fast-image-size is a PHP library that does almost everything PHP's getimagesize() does but without the large overhead of downloading the complete file.

959.4M20](/packages/marc1706-fast-image-size)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)

PHPackages © 2026

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