承接 creode/laravel-mime-type-icons 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

creode/laravel-mime-type-icons

最新稳定版本:1.2.0

Composer 安装命令:

composer require creode/laravel-mime-type-icons

包简介

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

README 文档

README

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

use Creode\LaravelMimeTypeIcons\Services\LaravelMimeTypeIconsService;

return LaravelMimeTypeIconsService::getIcon($value);

Changelog

Please see CHANGELOG for more information on what has changed recently.

## Attributions/Legal Bit Icon SVG's for this library were provided by the following repository: https://github.com/dmhendricks/file-icon-vectors. We have just modified the filenames to suit our needs.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 1.02k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-07