PHPackages                             huyphi/image\_checker - 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. huyphi/image\_checker

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

huyphi/image\_checker
=====================

Identify the image format

1.0(7y ago)014MITPHP

Since Jun 13Pushed 7y agoCompare

[ Source](https://github.com/huynhan147/Image-Checker)[ Packagist](https://packagist.org/packages/huyphi/image_checker)[ RSS](/packages/huyphi-image-checker/feed)WikiDiscussions master Synced 2mo ago

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

Huy Phi / Image Checker
=======================

[](#huy-phi--image-checker)

Dectect format Image

Cài đặt :
---------

[](#cài-đặt-)

```
composer require huyphi/image_checker

```

Usage
-----

[](#usage)

- Khởi tạo đối tượng với đầu vào là path local đến file hoặc 1 đường link web, cũng có thể là source/resource.

```
use HuyPhi\ImageChecker\ImageChecker;

```

```
$image = new ImageChecker($path);

```

- Phát hiện format của file ảnh

```
$image->detectImage();

```

- Kiểm tra file ảnh có thuộc định dạng mong muốn không

```
$image->is_GIF();
$image->is_JPG();
$image->is_SWF();

```

Note
----

[](#note)

Ch hỗ trợ một số định dạng phổ biến như JPG, PNG, BMP, SWF, GIF.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

Unknown

Total

1

Last Release

2893d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/835969c38dcce99bd70462363cee0345fab6ecbebfc707433b6a2c968b9c707d?d=identicon)[huynhan147](/maintainers/huynhan147)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/huyphi-image-checker/health.svg)

```
[![Health](https://phpackages.com/badges/huyphi-image-checker/health.svg)](https://phpackages.com/packages/huyphi-image-checker)
```

###  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.0k23](/packages/bkwld-croppa)[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)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

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