PHPackages                             narrowspark/mimetypes - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. narrowspark/mimetypes

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

narrowspark/mimetypes
=====================

PHP MIME Types Guesser and extension mapping.

1.6.0(6y ago)6113.8k↓50%[3 PRs](https://github.com/narrowspark/mimetypes/pulls)MITPHP ^7.2

Since Sep 8Compare

[ Source](https://github.com/narrowspark/mimetypes)[ Packagist](https://packagist.org/packages/narrowspark/mimetypes)[ RSS](/packages/narrowspark-mimetypes/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (3)Versions (20)Used By (0)

### README not available

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

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Every ~53 days

Recently: every ~69 days

Total

17

Last Release

2318d ago

Major Versions

v0.1.5 → v1.0.02018-05-21

PHP version history (2 changes)v0.1.0PHP ^7.1

1.4.0PHP ^7.2

### Community

Maintainers

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

---

Tags

mimetypemimetypesnarrowsparkguesser

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/narrowspark-mimetypes/health.svg)

```
[![Health](https://phpackages.com/badges/narrowspark-mimetypes/health.svg)](https://phpackages.com/packages/narrowspark-mimetypes)
```

###  Alternatives

[wapmorgan/file-type-detector

Detects file type by filename or content and generates correct mimetype.

35367.8k2](/packages/wapmorgan-file-type-detector)[dfridrich/php-mime-type

Simple PHP class for guessing file mime type based on file extension with ability to use in Symfony project.

17274.8k3](/packages/dfridrich-php-mime-type)

PHPackages © 2026

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