PHPackages                             asundust/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. [Caching](/categories/caching)
4. /
5. asundust/dcat-config

ActiveLibrary[Caching](/categories/caching)

asundust/dcat-config
====================

Dcat-Admin 系统配置 / Dcat-Admin System Config

v1.0.0(2y ago)214MITPHPPHP &gt;=7.1.0

Since Dec 7Pushed 2y ago1 watchersCompare

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

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

Dcat-Admin 系统配置 / Dcat-Admin System Config
==========================================

[](#dcat-admin-系统配置--dcat-admin-system-config)

[![StyleCI build status](https://camo.githubusercontent.com/28cca414873542c233502b5b876bf85b488fac6146be97d09f86c4bc955a3302/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3732383435313931332f736869656c64)](https://camo.githubusercontent.com/28cca414873542c233502b5b876bf85b488fac6146be97d09f86c4bc955a3302/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3732383435313931332f736869656c64)

Dcat-Admin 系统配置

[![image](https://private-user-images.githubusercontent.com/6573979/288601732-0b8b08bc-cdf2-4897-86ea-3f0c3d0a8b18.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUyMjg4MzMsIm5iZiI6MTc3NTIyODUzMywicGF0aCI6Ii82NTczOTc5LzI4ODYwMTczMi0wYjhiMDhiYy1jZGYyLTQ4OTctODZlYS0zZjB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2QxZWExMjg5ZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.HEVDNqgcGVpFsF3_MZn0rdF2xNG3pH2RTTWMgb3z5bg)

### 安装

[](#安装)

```
composer require asundust/dcat-config

```

### 主要功能

[](#主要功能)

- 自定义系统配置，配置方便
- 调用缓存，减少每次使用的数据库压力
- 带配置开关，方便开启关闭
- 简单分类，方便寻找
- 可配置参数缓存的时长
- 可配置自动备份配置信息（考虑到Dcat-Admin卸载扩展时会删除对应表）

### 使用

[](#使用)

- 非常简单，和Laravel原生使用一模一样，`config('key_string')`快捷函数调用即可

### 本地化

[](#本地化)

- 在`resources/lang/zh_CN`目录(可能是`zh-CN`)下`menu.php`文件里添加下述代码

```
'system_configs' => '系统参数',
```

### 支持

[](#支持)

如果觉得这个项目帮你节约了时间，不妨支持一下呗！

[![alipay](https://user-images.githubusercontent.com/6573979/91679916-2c4df500-eb7c-11ea-98a7-ab740ddda77d.png)](https://user-images.githubusercontent.com/6573979/91679916-2c4df500-eb7c-11ea-98a7-ab740ddda77d.png)[![wechat](https://user-images.githubusercontent.com/6573979/91679913-2b1cc800-eb7c-11ea-8915-eb0eced94aee.png)](https://user-images.githubusercontent.com/6573979/91679913-2b1cc800-eb7c-11ea-8915-eb0eced94aee.png)

### License

[](#license)

[The MIT License (MIT)](https://opensource.org/licenses/MIT)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

886d ago

### Community

Maintainers

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

---

Top Contributors

[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

admincacheconfigdcatdcat-adminsystemconfigcacheSimpleextensiondcat adminsystem config

### Embed Badge

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

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

###  Alternatives

[corneltek/configkit

Fast config toolkit, which provides super lightweight config accessor and loader.

1314.1k8](/packages/corneltek-configkit)[undefinedor/yii2-cached-active-record

The cached activeRecord for the Yii2 framework

102.6k](/packages/undefinedor-yii2-cached-active-record)

PHPackages © 2026

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