PHPackages                             xdg/mime-bundle - 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. xdg/mime-bundle

ActiveSymfony-bundle[Mail &amp; Notifications](/categories/mail)

xdg/mime-bundle
===============

1.0(3y ago)03MITPHPPHP &gt;=8.1

Since Oct 3Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (11)Versions (4)Used By (0)

xdg/mime-bundle
===============

[](#xdgmime-bundle)

[![codecov](https://camo.githubusercontent.com/8c2a1546eb0d3352d5243086662649e4c84b59c49bb67b3216849d84af35ffe0/68747470733a2f2f636f6465636f762e696f2f67682f7068702d7864672f6d696d652d62756e646c652f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d3559554b375a464d594a)](https://codecov.io/gh/php-xdg/mime-bundle)

Symfony integration for the [xdg/mime](https://github.com/php-xdg/mime) library.

Installation
------------

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Applications that use Symfony Flex

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
$ composer require xdg/mime-bundle
```

### Applications that don't use Symfony Flex

[](#applications-that-dont-use-symfony-flex)

#### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require xdg/mime-bundle
```

#### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php
return [
    // ...
    Xdg\MimeBundle\XdgMimeBundle::class => ['all' => true],
];
```

Usage
-----

[](#usage)

Read the [documentation](docs/index.md)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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 ~61 days

Total

3

Last Release

1198d ago

Major Versions

0.2 → 1.02023-02-03

### Community

Maintainers

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

---

Top Contributors

[![ju1ius](https://avatars.githubusercontent.com/u/218404?v=4)](https://github.com/ju1ius "ju1ius (18 commits)")

---

Tags

freedesktopguessermimemime-typesymfony-bundlexdgmimemime-typeguesserfreedesktopxdg

### Embed Badge

![Health badge](/badges/xdg-mime-bundle/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[sensiolabs/gotenberg-bundle

A Symfony bundle that provides seamless integration with Gotenberg for generating PDFs and screenshots from various sources (HTML, Markdown, Office documents, URLs) with a clean, builder-based API.

210210.4k2](/packages/sensiolabs-gotenberg-bundle)[php-flasher/flasher-symfony

Integrate flash notifications into Symfony projects effortlessly with PHPFlasher. Improve user experience and application feedback loops easily.

141.3M20](/packages/php-flasher-flasher-symfony)

PHPackages © 2026

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