PHPackages                             nguyenquocanhz/mime-type - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. nguyenquocanhz/mime-type

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

nguyenquocanhz/mime-type
========================

Xac dinh va kiem tra MIME type an toan cho PHP - chong path traversal, SVG XSS, upload gia mao

v1.0.0(yesterday)00MITPHP &gt;=8.1

Since Aug 14Compare

[ Source](https://github.com/nguyenquocanhz/php-mime-type)[ Packagist](https://packagist.org/packages/nguyenquocanhz/mime-type)[ Docs](https://github.com/nguyenquocanhz/php-mime-type)[ RSS](/packages/nguyenquocanhz-mime-type/feed)WikiDiscussions Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/nguyenquocanhz/php-mime-type).

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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

1d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/74386285?v=4)[NGUYỄN QUỐC ANH](/maintainers/nguyenquocanhz)[@nguyenquocanhz](https://github.com/nguyenquocanhz)

---

Tags

securitymimemime-typeuploadfileinfofile validation

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nguyenquocanhz-mime-type/health.svg)

```
[![Health](https://phpackages.com/badges/nguyenquocanhz-mime-type/health.svg)](https://phpackages.com/packages/nguyenquocanhz-mime-type)
```

###  Alternatives

[symfony/mime

Allows manipulating MIME messages

2.8k733.6M1.6k](/packages/symfony-mime)[zbateson/mail-mime-parser

MIME email message parser

55054.8M104](/packages/zbateson-mail-mime-parser)[php-mime-mail-parser/php-mime-mail-parser

A fully tested email parser for PHP 8.2+ (mailparse extension wrapper).

1.0k10.6M39](/packages/php-mime-mail-parser-php-mime-mail-parser)[silverstripe/mimevalidator

Checks uploaded file content roughly matches a known MIME type for the file extension.

102.2M13](/packages/silverstripe-mimevalidator)[fileeye/mimemap

A PHP library to handle MIME Content-Type fields and their related file extensions.

2610.1M21](/packages/fileeye-mimemap)[zbateson/stream-decorators

PHP psr7 stream decorators for mime message part streams

4754.1M11](/packages/zbateson-stream-decorators)

PHPackages © 2026

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