PHPackages                             moudarir/mime-detector - 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. moudarir/mime-detector

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

moudarir/mime-detector
======================

A PHP library for detecting the real MIME type of files by analyzing their content.

v1.0.0(yesterday)01↓100%MITPHP &gt;=8.4 &lt;9.0

Since Aug 6Compare

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

READMEChangelogDependenciesVersions (2)Used By (0)

### README not available

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

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance100

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity50

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/12732173?v=4)[Abdessamad MOUDARIR](/maintainers/moudarir)[@moudarir](https://github.com/moudarir)

---

Tags

phpmimemime-typedetectorfileMagic Numberfiletype

### Embed Badge

![Health badge](/badges/moudarir-mime-detector/health.svg)

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

###  Alternatives

[symfony/mime

Allows manipulating MIME messages

2.8k733.6M1.5k](/packages/symfony-mime)[softcreatr/php-mime-detector

Modern, extensible MIME type detector for PHP

26381.3k8](/packages/softcreatr-php-mime-detector)[rosell-dk/image-mime-type-guesser

Guess mime type of images

109.0M6](/packages/rosell-dk-image-mime-type-guesser)

PHPackages © 2026

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