PHPackages                             illuminatech/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. [Database &amp; ORM](/categories/database)
4. /
5. illuminatech/config

ActiveLibrary[Database &amp; ORM](/categories/database)

illuminatech/config
===================

Provides support for Laravel application runtime configuration managed in persistent storage

1.4.4(1mo ago)14921.0k↓40%111BSD-3-ClausePHPCI passing

Since May 22Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/illuminatech/config)[ Packagist](https://packagist.org/packages/illuminatech/config)[ GitHub Sponsors](https://github.com/klimov-paul)[ Patreon](https://www.patreon.com/klimov_paul)[ RSS](/packages/illuminatech-config/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (16)Versions (17)Used By (1)

 [ ![](https://avatars1.githubusercontent.com/u/47185924) ](https://github.com/illuminatech)

Laravel Persistent Configuration Repository
===========================================

[](#laravel-persistent-configuration-repository)

This extension introduces persistent configuration repository for Laravel. Its usage in particular provides support for application runtime configuration, loading config from database.

For license information check the [LICENSE](LICENSE.md)-file.

[![Latest Stable Version](https://camo.githubusercontent.com/1db401646bc89f0de72b830e4264c807b0d92f420e5a4c1ee18c64671eb3f353/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696c6c756d696e61746563682f636f6e6669672e737667)](https://packagist.org/packages/illuminatech/config)[![Total Downloads](https://camo.githubusercontent.com/f35c1e62ab535c5e1f23bca0bb1b9920c4d4fb06622f4189d5ac5b54898d5891/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696c6c756d696e61746563682f636f6e6669672e737667)](https://packagist.org/packages/illuminatech/config)[![Build Status](https://github.com/illuminatech/config/workflows/build/badge.svg)](https://github.com/illuminatech/config/actions)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist illuminatech/config

```

or add

```
"illuminatech/config": "*"
```

to the require section of your composer.json.

Usage
-----

[](#usage)

This extension allows reconfiguration of already created config repository using data from the external storage like relational database. It provides special config repository class `\Illuminatech\Config\PersistentRepository`, which wraps any given config repository, adding a layer for saving and restoring of data from the persistent storage.

```
