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(8y ago)0132MITPHP

Since Jun 11Pushed 8y agoCompare

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

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 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

2940d 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

[goat1000/svggraph

Generates SVG graphs

133890.0k3](/packages/goat1000-svggraph)[imagekit/imagekit

PHP library for Imagekit

46877.3k10](/packages/imagekit-imagekit)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

12644.1k2](/packages/gravatarphp-gravatar)

PHPackages © 2026

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