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)02.1k↓60.1%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 2d 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 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

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

857d 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

[andersondanilo/cnab_php

Projeto para criar arquivos de remessas e processar arquivos de retorno no formato CNAB

329271.7k2](/packages/andersondanilo-cnab-php)[lisachenko/z-engine

Library that provides direct access to native PHP structures

45523.5k3](/packages/lisachenko-z-engine)[jellybool/translug

Translate Chinese And Then Make It Sluggable

14746.5k2](/packages/jellybool-translug)[wyrihaximus/json-throwable

📠 JSON encode and decode throwables and exceptions

12278.8k5](/packages/wyrihaximus-json-throwable)[setono/sylius-mailchimp-plugin

Mailchimp plugin for Sylius.

1138.6k](/packages/setono-sylius-mailchimp-plugin)[wujunze/money-wrapper

MoneyPHP Wrapper

103.8k](/packages/wujunze-money-wrapper)

PHPackages © 2026

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