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

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

tinyporo/image\_checker
=======================

1.0.0(7y ago)0132MITPHP

Since Jun 11Pushed 7y agoCompare

[ Source](https://github.com/TinyPoro/ImageChecker)[ Packagist](https://packagist.org/packages/tinyporo/image_checker)[ RSS](/packages/tinyporo-image-checker/feed)WikiDiscussions master Synced today

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

Poro\\Image\_Checker
====================

[](#poroimage_checker)

Poro image format detector

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.

```
$image = new \Poro\Image_Checker\ImageChecker($path, $src = null);

```

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

```
$image->detectFormat();

```

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

```
$image->isGIF();
$image->isBMP();

```

- Tùy chỉnh biến `IMAGE_STORAGE` trong file `.env` để lựa chọn đường dẫn lưu ảnh để tải về khi đầu vào là đường dẫn online của ảnh.

Note
----

[](#note)

Mới chỉ hỗ trợ detect 1 số định dạng phổ biến như JPG, PNG, BMP, TIFF, GIF.

Muốn detect thêm các định dạng khác, tham khảo [File Signature](https://www.garykessler.net/library/file_sigs.html?utm_source=tool.lu)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

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

2890d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f95c3d5b7647817cfac08d2eb6ca95cb81807e6d17c954b8dca48425d0c47d42?d=identicon)[TinyPoro](/maintainers/TinyPoro)

---

Top Contributors

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

---

Tags

image\_checker

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/tinyporo-image-checker/health.svg)](https://phpackages.com/packages/tinyporo-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)[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)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)

PHPackages © 2026

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