PHPackages                             koomai/laravel-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. koomai/laravel-config

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

koomai/laravel-config
=====================

Database driven configuration for Laravel applications

v3.1.0(6y ago)22.1kMITPHPPHP ^7.1CI failing

Since May 25Pushed 6y ago2 watchersCompare

[ Source](https://github.com/koomai/laravel-config)[ Packagist](https://packagist.org/packages/koomai/laravel-config)[ Docs](https://github.com/koomai/laravel-config)[ RSS](/packages/koomai-laravel-config/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (8)Versions (10)Used By (0)

Laravel Dynamic Config
======================

[](#laravel-dynamic-config)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2e24416630db99b403b6ef56afb1e56f6bc592173e0547852a539fbd236aaf2d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6f6f6d61692f6c61726176656c2d636f6e6669672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/koomai/laravel-config)[![Build Status](https://camo.githubusercontent.com/cc5c17b3e9c9069e22b782d5d651908f7a3a9d086c787f48058c1c41dedbeea3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6b6f6f6d61692f6c61726176656c2d636f6e6669672f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/koomai/laravel-config)[![Quality Score](https://camo.githubusercontent.com/88b9f8c00a7cf47162b7d1cb02eaccb80a809e6b71941b75d1ac699502ff7f21/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6b6f6f6d61692f6c61726176656c2d636f6e6669672e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/koomai/laravel-config)[![StyleCI](https://camo.githubusercontent.com/471fdc31c779eb6f542955f46ea3e14102747b0e24fe321abdc47d9be602b206/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3138353839323134332f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/185892143)[![Code Coverage](https://camo.githubusercontent.com/5bef904765fcaac51e451a3f775ac4a89e272ddd3c23cd3e8660762bb30547a7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6b6f6f6d61692f6c61726176656c2d636f6e6669672f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/koomai/laravel-config)

Manage your application configuration in your database.

Dynamic Config allows you to override or add to your application configuration in `/config` without redeploying code.

You can also use it as a separate custom configuration manager if you choose not to combine it with Laravel's config.

Installation
------------

[](#installation)

You can install the package via composer. Select the appropriate version based on the table below.

```
composer require koomai/laravel-config
```

LaravelThis package&lt;=5.6^1.05.7^2.05.8^3.0Usage
-----

[](#usage)

### Register Service Provider

[](#register-service-provider)

The core service provider is already registered via package discovery.

If you want to combine/override Laravel's config values, you will have to manually register `CombinedConfigServiceProvider` in the `providers` array in `config/app.php`.

*Note*: It is highly recommended that you cache your config (using `artisan config:cache`) if you choose to do the above.

### Add config

[](#add-config)

```
// Simple key/value for mail configuration
php artisan config:add mail username johndoe

// Nested key/value for mail configuration
php artisan config:add mail from.address johndoe@example.com

// Refresh cache by passing the --reset-cache flag
php artisan config:add mail username johndoe --reset-cache
```

### Delete config

[](#delete-config)

```
// Delete a key for mail configuration
php artisan config:delete mail username

// Delete a nested key for mail configuration
php artisan config:delete mail from.address

// Pass an empty string to delete all configuration for mail in the database
php artisan config:delete mail ''

// Refresh cache by passing the --reset-cache flag
php artisan config:delete mail username
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.asdfas

Credits
-------

[](#credits)

- [Sid K](https://github.com/koomai)
- [Spatie PHP Skeleton](https://github.com/spatie/skeleton-php)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~2 days

Total

9

Last Release

2526d ago

Major Versions

v2.0.0 → 5.7.x-dev2019-05-25

v1.0.0 → v3.0.02019-05-27

v1.0.1 → 5.6.x-dev2019-05-27

v1.0.2 → v2.0.12019-05-28

v2.0.1 → v3.1.02019-06-12

PHP version history (2 changes)v2.0.0PHP ^7.1

v1.0.1PHP ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/53a237b1581b9695f535c4794f06ed1c84edbaf8ef1953628c0d3cba0392ec47?d=identicon)[koomai](/maintainers/koomai)

---

Top Contributors

[![koomai](https://avatars.githubusercontent.com/u/1274618?v=4)](https://github.com/koomai "koomai (19 commits)")

---

Tags

configurationconfiguration-managementlaravellaravel-packagephpphplaravelartisan

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/koomai-laravel-config/health.svg)

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

###  Alternatives

[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[efureev/laravel-trees

Multi-Tree structures for Laravel

14253.3k4](/packages/efureev-laravel-trees)

PHPackages © 2026

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