PHPackages                             nishadil/extmime - 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. nishadil/extmime

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

nishadil/extmime
================

PHP package for converting file MIME Type to extension and vice versa.

v1.1.0(2y ago)2241MITPHP

Since Dec 28Pushed 2y agoCompare

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

READMEChangelogDependenciesVersions (5)Used By (0)

Nishadil\\Extmime
=================

[](#nishadilextmime)

The "Nishadil\\Extmime" PHP package offers a convenient solution for developers seeking to effortlessly convert between file MIME types and extensions within their projects. By leveraging this package, developers can seamlessly map MIME types to file extensions and vice versa, simplifying file handling tasks.

How to install
--------------

[](#how-to-install)

To integrate "Nishadil\\Extmime" into your project, simply clone this git repo or use [Composer](https://getcomposer.org/) with the following command:

```
composer require nishadil/extmime
```

How to use
----------

[](#how-to-use)

### Get mime type from file extension

[](#get-mime-type-from-file-extension)

```

```

Output :

```
    .jpg

```

### Get extension from file mime type

[](#get-extension-from-file-mime-type)

```

```

Output :

```
    .image/jpeg

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

864d ago

Major Versions

v0.0.2-alpha → v1.0.02023-12-28

### Community

Maintainers

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

---

Top Contributors

[![NishadilDev](https://avatars.githubusercontent.com/u/110878197?v=4)](https://github.com/NishadilDev "NishadilDev (11 commits)")

---

Tags

file-extensionsmime-types

### Embed Badge

![Health badge](/badges/nishadil-extmime/health.svg)

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

###  Alternatives

[fbf/laravel-youtube

A Laravel package to upload videos to a YouTube channel

954.2k](/packages/fbf-laravel-youtube)[quadrubo/filament-model-settings

This is my package filament-model-settings

1637.5k](/packages/quadrubo-filament-model-settings)[typicms/bootforms

Just a Formbuilder with some Bootstrap 5 specific conveniences. Remembers old input, retrieves error messages and handles all your boilerplate Bootstrap markup automatically.

1256.0k2](/packages/typicms-bootforms)[zmoyi/jstan

聚水潭-php-sdk

153.8k1](/packages/zmoyi-jstan)

PHPackages © 2026

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