PHPackages                             wuxuejian/dcat-config - 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. wuxuejian/dcat-config

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

wuxuejian/dcat-config
=====================

配置管理

v3.0(3y ago)112MITPHPPHP &gt;=7.1.0|8.\*

Since May 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/wuxuejian/dcat-config)[ Packagist](https://packagist.org/packages/wuxuejian/dcat-config)[ Docs](https://github.com/wuxuejian/dcat-config)[ RSS](/packages/wuxuejian-dcat-config/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

在 ghost/dcat-config基础上改进了一些个人使用的功能
==================================

[](#在-ghostdcat-config基础上改进了一些个人使用的功能)

感谢原项目作者

Dcat Admin Extension
====================

[](#dcat-admin-extension)

[![](https://camo.githubusercontent.com/16e2b70ab5de4df0d9285b0efd3e0cffa7d3ccee8bb99111f1a7f0424c2c264a/68747470733a2f2f67686f73742d61692e636f6d2f696d616765732f6f726967696e616c2f66696c652f31363137313732373930343232323432372e706e67)](https://camo.githubusercontent.com/16e2b70ab5de4df0d9285b0efd3e0cffa7d3ccee8bb99111f1a7f0424c2c264a/68747470733a2f2f67686f73742d61692e636f6d2f696d616765732f6f726967696e616c2f66696c652f31363137313732373930343232323432372e706e67)[![](https://camo.githubusercontent.com/ca531e71079060699443d9984c098c0d02066017842e3e5ac2e70bacbc15e654/68747470733a2f2f67686f73742d61692e636f6d2f696d616765732f6f726967696e616c2f66696c652f313631373137323836333439383935363735312e706e67)](https://camo.githubusercontent.com/ca531e71079060699443d9984c098c0d02066017842e3e5ac2e70bacbc15e654/68747470733a2f2f67686f73742d61692e636f6d2f696d616765732f6f726967696e616c2f66696c652f313631373137323836333439383935363735312e706e67)

### composer 安装

[](#composer-安装)

> composer require ghost/dcat-config

### dcat config 配置

[](#dcat-config-配置)

> admin\_setting 添加 ghost::admin\_config 字段

> key=&gt;value形式保存

> 可以替换系统config 或env 配置 使用 config("key");

### 国际化

[](#国际化)

```
//resources/lang/zh-CN/dcat-config

return [
    'Basic'=>'基本配置'
];
```

目前支持

```
	'text' => '文本',
	'select' => '下拉选框单选',
	'multipleSelect' => '下拉选框多选',
	'listbox' => '多选盒',
	'textarea' => '长文本',
	'radio' => '单选',
	'checkbox' => '多选',
	'email' => '邮箱',
	'password' => '密码',
	'url' => '链接',
	'ip' => 'IP',
	'mobile' => '手机',
	'color' => '颜色选择器',
	'time' => '时间',
	'date' => '日期',
	'datetime' => '时间日期',
	'file' => '文件上传',
	'image' => '图片上传',
	'multipleImage' => '多图上传',
	'multipleFile' => '多文件上传',
	'editor' => '富文本编辑器',
	'number' => '数字',
	'rate' => '费率',
	'array'=>'数组'
    ```

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1451d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d6a2a96a3163a816c85260608970c2afc2f90ddef5777d73b284e7d75d007900?d=identicon)[wuxuejian](/maintainers/wuxuejian)

---

Top Contributors

[![wuxuejian](https://avatars.githubusercontent.com/u/4558715?v=4)](https://github.com/wuxuejian "wuxuejian (7 commits)")

---

Tags

extensiondcat admin

### Embed Badge

![Health badge](/badges/wuxuejian-dcat-config/health.svg)

```
[![Health](https://phpackages.com/badges/wuxuejian-dcat-config/health.svg)](https://phpackages.com/packages/wuxuejian-dcat-config)
```

###  Alternatives

[sparkinzy/dcat-distpicker

省市区地址选择器，支持select2

272.7k1](/packages/sparkinzy-dcat-distpicker)[sparkinzy/dcat-marketplace

Dcat扩展市场

381.3k](/packages/sparkinzy-dcat-marketplace)

PHPackages © 2026

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