PHPackages                             zhy/dcat-color-icon - 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. zhy/dcat-color-icon

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

zhy/dcat-color-icon
===================

为Dcat增加图标支持

3511[1 issues](https://github.com/zhengheyang1/dcat-color-icon/issues)[1 PRs](https://github.com/zhengheyang1/dcat-color-icon/pulls)Blade

Since Aug 10Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/zhengheyang1/dcat-color-icon)[ Packagist](https://packagist.org/packages/zhy/dcat-color-icon)[ RSS](/packages/zhy-dcat-color-icon/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (3)Used By (0)

Dcat Color Icon
===============

[](#dcat-color-icon)

为 DcatAdmin 后台菜单添加彩色Icon支持的功能。。

[![](https://camo.githubusercontent.com/1b305338251d67eea52c640980aec3fcd85f06f5513c127809648d313dfe212b/687474703a2f2f63696d672e6d7872786c622e636f6d2f696d616765732f66363065613337353061303064313261633461316131666665333066326435302e706e67)](https://camo.githubusercontent.com/1b305338251d67eea52c640980aec3fcd85f06f5513c127809648d313dfe212b/687474703a2f2f63696d672e6d7872786c622e636f6d2f696d616765732f66363065613337353061303064313261633461316131666665333066326435302e706e67)

安装方式
----

[](#安装方式)

最新支持 Dcat Admin 2.1.2beta

`composer require zhy/dcat-color-icon`

或者在后台扩展中，直接上传本插件的 `.zip` 文件即可。

### 使用

[](#使用)

在菜单 `扩展` 中启用扩展后，会自动替换原`菜单页`icon选择组件。

[![](https://camo.githubusercontent.com/dc3aa560f794864007cc69d6ac0690635d1a18c7dd67550fd5846eb74b5098ba/687474703a2f2f63696d672e6d7872786c622e636f6d2f696d616765732f6d656e752d69636f6e2e706e67)](https://camo.githubusercontent.com/dc3aa560f794864007cc69d6ac0690635d1a18c7dd67550fd5846eb74b5098ba/687474703a2f2f63696d672e6d7872786c622e636f6d2f696d616765732f6d656e752d69636f6e2e706e67)

### 功能

[](#功能)

- 菜单彩色Icon
- 表单扩展：表单可用 `colorIcon()` 字段类型，是 `icon` 字段的增强。

```
$form->colorIcon('icon','彩色Icon');
```

开源协议
----

[](#开源协议)

Dcat Color Icon 遵循 MIT 开源协议。

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24806690?v=4)[zhy](/maintainers/zhengheyang1)[@zhengheyang1](https://github.com/zhengheyang1)

### Embed Badge

![Health badge](/badges/zhy-dcat-color-icon/health.svg)

```
[![Health](https://phpackages.com/badges/zhy-dcat-color-icon/health.svg)](https://phpackages.com/packages/zhy-dcat-color-icon)
```

###  Alternatives

[rafaelfragoso/haversini-formula

This PHP class can replace the Google Distance Matrix to calculate the distance between two points using latitude and longitude. It will prevent you to do massive requests to Google servers and enhance your service performance.

46216.3k](/packages/rafaelfragoso-haversini-formula)

PHPackages © 2026

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