PHPackages                             creode/laravel-mime-type-icons - 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. creode/laravel-mime-type-icons

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

creode/laravel-mime-type-icons
==============================

Base module which is used for the DAM to create assets.

1.2.0(2y ago)01.5k↓45.8%1MITPHPPHP ^8.1

Since Dec 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/creode-modules/laravel-mime-type-icons)[ Packagist](https://packagist.org/packages/creode/laravel-mime-type-icons)[ Docs](https://github.com/creode-modules/laravel-mime-type-icons)[ RSS](/packages/creode-laravel-mime-type-icons/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (8)DependenciesVersions (10)Used By (1)

Provides a path as a string to an SVG icon from a given mime-type.
==================================================================

[](#provides-a-path-as-a-string-to-an-svg-icon-from-a-given-mime-type)

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

[](#installation)

You can install the package via composer:

```
composer require creode/laravel-mime-type-icons
```

THe SVG assets are published to the public directory when **composer update** has been run. However you can publish them manually with:

```
php artisan vendor:publish --tag="laravel-assets"
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-mime-type-icon-config"
```

This is the contents of the published config file:

```
// Options for icon-style are 'square-o' and 'classic', 'vivid' or 'high-contrast'.
// Default is 'square-o'.
return [
  'style' => env('LARAVEL_MIME_TYPE_ICON_STYLE', 'square-o')
];
```

Usage
-----

[](#usage)

```
use Creode\LaravelMimeTypeIcons\Services\LaravelMimeTypeIconsService;

return LaravelMimeTypeIconsService::getIcon($value);
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

\## Attributions/Legal Bit Icon SVG's for this library were provided by the following repository: . We have just modified the filenames to suit our needs.

Credits
-------

[](#credits)

- [Creode](https://github.com/creode)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~10 days

Recently: every ~19 days

Total

9

Last Release

810d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8133041?v=4)[Creode](/maintainers/creode)[@creode](https://github.com/creode)

---

Top Contributors

[![jaymeh](https://avatars.githubusercontent.com/u/18261676?v=4)](https://github.com/jaymeh "jaymeh (9 commits)")[![liam-spedding](https://avatars.githubusercontent.com/u/111750536?v=4)](https://github.com/liam-spedding "liam-spedding (9 commits)")

### Embed Badge

![Health badge](/badges/creode-laravel-mime-type-icons/health.svg)

```
[![Health](https://phpackages.com/badges/creode-laravel-mime-type-icons/health.svg)](https://phpackages.com/packages/creode-laravel-mime-type-icons)
```

###  Alternatives

[craftcms/rector

Rector sets to automate Craft CMS upgrades

17232.9k257](/packages/craftcms-rector)[andrefigueira/blog-article-faker

Generate random blog article titles and content (including markdown) using faker

1415.0k](/packages/andrefigueira-blog-article-faker)

PHPackages © 2026

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