PHPackages                             hoainam/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. hoainam/image-checker

ActiveLibrary

hoainam/image-checker
=====================

this check image format

05PHP

Since Jun 13Pushed 7y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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 \Lego\ImageChecker\ImageChecker($path);

```

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

```
$image->detectFormat();

```

Nếu check thành công sẽ trả ra định dạng của file nếu không sẽ in ra dòng thông báo

- Kiểm tra file ảnh riêng lẻ

```
$image->isGIF();
$image->isJPG();
$image->isPNG();

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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