PHPackages                             sergix44/php-fast-image-compare - 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. sergix44/php-fast-image-compare

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

sergix44/php-fast-image-compare
===============================

Image Comparer with different aspect ratios and sizes. Can extract duplicate and unique images in directory and much more.

2.0.1(4y ago)16.6k↓34.6%MITPHPPHP &gt;=8.0

Since Feb 25Pushed 4y agoCompare

[ Source](https://github.com/SergiX44/FastImageCompare)[ Packagist](https://packagist.org/packages/sergix44/php-fast-image-compare)[ RSS](/packages/sergix44-php-fast-image-compare/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (10)Used By (0)

Fast Image Compare for PHP
==========================

[](#fast-image-compare-for-php)

PHP library for comparing images, forked and updated with dependencies to PHP8+.

Originally by

### What this library does

[](#what-this-library-does)

- compare two images
- check two images are similar or different
- find duplicate images in array or in directory,
- find unique images in array or in directory
- compare images ( with different sizes and aspect ratios too),
- compare image arrays,
- return percentage difference between images
- supports jpg, png, bmp, webp

### Requirements

[](#requirements)

In order to load and compare images, the library relies on the ImageMagick extension.

### Installation and Documentation

[](#installation-and-documentation)

```
composer require sergix44/php-fast-image-compare
```

Original documentation:

A copy is provided in the docs/ folder.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 85.4% 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 ~182 days

Recently: every ~364 days

Total

9

Last Release

1547d ago

Major Versions

v1.0.6 → 2.0.02022-02-21

PHP version history (2 changes)v1.0.0PHP &gt;=5.6.0

2.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/08bc14acf1f7db717de09e715047f5b5684841d6b9712129334931fa8833beda?d=identicon)[SergiX44](/maintainers/SergiX44)

---

Top Contributors

[![yncki](https://avatars.githubusercontent.com/u/1530496?v=4)](https://github.com/yncki "yncki (35 commits)")[![sergix44](https://avatars.githubusercontent.com/u/4172890?v=4)](https://github.com/sergix44 "sergix44 (6 commits)")

---

Tags

phpimageduplicatecompareunique

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sergix44-php-fast-image-compare/health.svg)

```
[![Health](https://phpackages.com/badges/sergix44-php-fast-image-compare/health.svg)](https://phpackages.com/packages/sergix44-php-fast-image-compare)
```

###  Alternatives

[yncki/php-fast-image-compare

Image Comparer with different aspect ratios and sizes. Can extract duplicate and unique images in directory and much more.

1869.4k](/packages/yncki-php-fast-image-compare)[lciolecki/php-image-optimizer

PHP image file optimizer (uses https://github.com/bensquire/php-image-optim)

347.4k](/packages/lciolecki-php-image-optimizer)

PHPackages © 2026

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