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

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

hoannc54/image\_checker
=======================

Dectect image format

06PHP

Since Jun 14Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Image Checker
=============

[](#image-checker)

Intro
-----

[](#intro)

Thư viện kiểm tra định dạng của ảnh

Usage
-----

[](#usage)

Khởi tạo đối tượng, truyền vào một đường dẫn local hoặc một url web chứa ảnh

```
$image_checker = new \Joan\ImageChecker\ImageChecker($path);

```

Lấy định dạng của ảnh

```
$image_checker->detect()

```

Kiểm tra ảnh có phải loại mong muốn không

```
$image_checker->isGif()
$image_checker->isPng()

```

Test
----

[](#test)

Chạy test :

```
./vendor/bin/phpunit ImageCheckerTest tests/ImageCheckerTest.php

```

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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://avatars.githubusercontent.com/u/10104367?v=4)[hoannc](/maintainers/hoannc)[@hoannc](https://github.com/hoannc)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

135931.0k3](/packages/goat1000-svggraph)[stefangabos/zebra_image

A single-file, lightweight PHP library designed for efficient image manipulation featuring methods for modifying images and applying filters

138121.6k7](/packages/stefangabos-zebra-image)[treinetic/imageartist

ImageArtist is a php gd Wrapper which makes Image manipulation insanely easy, we introduce ImageArtist as Photoshop for php

8783.2k](/packages/treinetic-imageartist)[johncarter/filament-focal-point-picker

An image focal point picker for Filament Admin.

4431.7k1](/packages/johncarter-filament-focal-point-picker)[yk/laravel-ocr

A wrapper for gocr.

1356.6k](/packages/yk-laravel-ocr)

PHPackages © 2026

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