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

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

ghost/dcat-config
=================

配置管理

v1.0.9(2y ago)112.2k↓50%6[2 issues](https://github.com/Ghost-die/dcat-config/issues)MITPHPPHP &gt;=7.1.0|8.\*

Since Feb 5Pushed 2y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (1)Versions (10)Used By (0)

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

31

—

LowBetter than 68% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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 ~135 days

Recently: every ~237 days

Total

9

Last Release

841d ago

PHP version history (2 changes)v1.0.1PHP &gt;=7.1.0

v1.0.5PHP &gt;=7.1.0|8.\*

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e089b9a451cec387af4a0bfa9449b0226b379b102e8a3629894fcfbf5ceba02?d=identicon)[ghost\_ai](/maintainers/ghost_ai)

---

Top Contributors

[![ghost-die](https://avatars.githubusercontent.com/u/20829237?v=4)](https://github.com/ghost-die "ghost-die (20 commits)")[![zwping](https://avatars.githubusercontent.com/u/26704739?v=4)](https://github.com/zwping "zwping (2 commits)")

---

Tags

extensiondcat admin

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/ghost-dcat-config/health.svg)](https://phpackages.com/packages/ghost-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)
