NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1587 most downloaded on Packagist
A PHP library to handle MIME Content-Type fields and their related file extensions.
Latest stable
2.2.6
Last release 2 months ago
30 Aug 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 22 of 24 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
34 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Add workflow to update DefaultMap automatically by @mondrake in https://github.com/FileEye/MimeMap/pull/105
Full Changelog: https://github.com/FileEye/MimeMap/compare/2.2.5...2.2.6
Updates for the default MIME map.
Updates for the default MIME map.
Full Changelog: https://github.com/FileEye/MimeMap/compare/2.2.4...2.2.5
Adds HEIC, HEIF and related mime types.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Adds HEIC, HEIF and related mime types.
Full Changelog: https://github.com/FileEye/MimeMap/compare/2.2.3...2.2.4
Change Apache URL for the reference file by @mondrake in https://github.com/FileEye/MimeMap/pull/99
Full Changelog: https://github.com/FileEye/MimeMap/compare/2.2.2...2.2.3
Fix PHPStan baselined errors by @mondrake in https://github.com/FileEye/MimeMap/pull/91
Map classes by @mondrake in https://github.com/FileEye/MimeMap/pull/92Full Changelog: https://github.com/FileEye/MimeMap/compare/2.2.1...2.2.2
Cleanup tests from annotations by @mondrake in https://github.com/FileEye/MimeMap/pull/86
Full Changelog: https://github.com/FileEye/MimeMap/compare/2.2.0...2.2.1
Minimum PHP version is now 8.1. Added library documentation generated via phpDocumentor.
Minimum PHP version is now 8.1. Added library documentation generated via phpDocumentor.
Full Changelog: https://github.com/FileEye/MimeMap/compare/2.1.2...2.2.0
Release candidate, do not use in production.
Release candidate, do not use in production.
Full Changelog: https://github.com/FileEye/MimeMap/compare/2.2.0-rc1...2.2.0-rc2
Release candidate, do not use in production.
Release candidate, do not use in production.
Full Changelog: https://github.com/FileEye/MimeMap/compare/2.1.2...2.2.0-rc1
fix: integer-like extensions are incorrectly converted to integers (#79) @devenjahnke
PHP 8.4 Implicit nullable types (#77) @mondrake
Drop support for PHP 7.3 (#72) @mondrake
Test on PHP 8.4 (#70) @mondrake
Allow PHPUnit 10 and Psalm 5 (#69) @mondrake
Nothing published for this version
The package's API has not changed significantly from 1.x releases, but now all methods are strictly typed.
The package's API has not changed significantly from 1.x releases, but now all methods are strictly typed.
Methods no longer accept being passed null values for arguments. Methods no longer return null - always throw exceptions in that case. The $strict parameter that could be passed to some methods is no longer supported.
A lot of the refactoring was driven by recommendations from the implementation of the PHPStan and Psalm tools.
Release candidate version not for productive usage.
Release candidate version not for productive usage.
The package API has not changed significantly from releases 1.x, but now all methods are strictly typed.
Methods no longer accept being passed null values for arguments. Methods no longer return null - always throw exceptions in that case. The $strict parameter that could be passed to some methods is no longer supported.
A lot of the refactoring was driven by recommendations from the implementation of the PHPStan and Psalm tools.
Beta version not for productive usage.
Beta version not for productive usage.
The API has not changed significantly from releases 1.x, but now all methods are strictly typed. Do not expect to pass null values in calls to methods, and no methods return null - always throw exceptions in that case. The $strict parameter that could be passed to some methods is no longer working here.
A lot of the refactoring was driven by recommendations from PHPStan and Psalm implementation.
This is the last release of the 1.x series. Next major release will remove support for PHP <= 7.2 and tighten the API with interfaces and type hinting
This is the last release of the 1.x series. Next major release will remove support for PHP <= 7.2 and tighten the API with interfaces and type hinting, aiming at achieving PHPStan level 9 code quality.
When MimeMap 2.0.0 will be released, 1.x series will be EOL.
## What’s Changed * Map updates
Drop support for old EOL PHP versions 5.4 and 5.5
Nothing published for this version
Update default map (#43) @mondrake
Fixes for Symfony5 (#36) @mondrake
Curly brackets syntax for arrays and strings deprecated in PHP 7.4 (#32) @mondrake
Add Release Drafter configuration (#28) @mondrake
Add alias for dev-master to 1.x-dev
Changes since 1.0.0:
No major changes since rc1, mostly docs, adjustments to mapping in DefaultMap, and tweaks to the testing suite to enable testing from PHPUnit 4 to 8.
First stable release.
No major changes since rc1, mostly docs, adjustments to mapping in DefaultMap, and tweaks to the testing suite to enable testing from PHPUnit 4 to 8.
Relase candidate for MimeMap 1.0.0
Relase candidate for MimeMap 1.0.0
Additions since beta1:
Adds: #15 Add MIME type descriptions and aliases taking from freedesktop.org source
Adds:
#15 Add MIME type descriptions and aliases taking from freedesktop.org source
This alpha release includes #13 Add freedesktop.org MIME type source to map
This alpha release includes
#13 Add freedesktop.org MIME type source to map
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.