PHPackages                             fuller/laravel-configurator - 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. fuller/laravel-configurator

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

fuller/laravel-configurator
===========================

User Customisable and Persistent App Config Options

v0.1(11y ago)767[1 issues](https://github.com/Robindfuller/Laravel-Configurator/issues)PHPPHP &gt;=5.4.0

Since Oct 17Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Robindfuller/Laravel-Configurator)[ Packagist](https://packagist.org/packages/fuller/laravel-configurator)[ RSS](/packages/fuller-laravel-configurator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

User Customisable and Persistent App Config Options
===================================================

[](#user-customisable-and-persistent-app-config-options)

This Laravel package provides a convenient way to save custom configuration options within your Laravel application. Once saved all custom options then override those in the main app config and can be accessed using the standard `Illuminate\Contracts\Config\Repository` instance or `\Config` Facade as shown below:

```
\Config::get($key);

```

This is especially useful for many applications that feature a low level admin panel to configure an app via a web form.

Requirements
------------

[](#requirements)

This package uses `Illuminate\Contracts\Config\Repository` which I believe is only available in the Laravel 5.

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

[](#installation)

Begin by installing this package through Composer. Edit your project's `composer.json` file to require `fuller/laravel-configuration`.

```
"require": {
	"fuller/laravel-configurator": "~0.1"
}

```

Next, update Composer from the Terminal:

```
composer update

```

Once this operation completes, the final step is to add the service provider. Open `config/app.php`, and add a new item to the top of the providers array.

```
'Fuller\LaravelConfigurator\LaravelConfiguratorServiceProvider'

```

Usage
-----

[](#usage)

All usage can be done by using the '\\Configure' facade. Please remember that this package is only intended for saving custom config options. You will use the standard `\Config::get($key)` upon the next request to use the custom options.

\###Setting

```
\Configure::set($key, $value);

```

You can also use an associative array like the example below:

```
\Configure::set([
	'site.title' => 'Cool Website',
	'site.slogan' => 'Cool things for everyone',
	'mail.driver' => 'smtp',
]);

```

### Saving

[](#saving)

Once you have set all custom options you will the need to save them:

```
\Configure::save();

```

### Applying (Automatic on next request)

[](#applying-automatic-on-next-request)

You may wish to apply the custom options just set, to the main app config in memory before the next request. For this you can use:

```
\Configure::apply();

```

Configuration
-------------

[](#configuration)

All custom config options are written to a .php file. By default this is kept in the app storage folder. However you are free to change this in the package configuration file.

F.A.Q
-----

[](#faq)

Q. Why save to a file and not to a database?

A. Saving to a file means that the package can also be used to save custom database options. This very useful if your application has an installation form.

Q. Can I call the class directly for testing purposes?

A. Yes but you must pass the `Illuminate\Contracts\Config\Repository` instance into the constructor. This is just my first draft and soon I'll release a version where you don't need to do this.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

4225d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/fuller-laravel-configurator/health.svg)

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

###  Alternatives

[rs/laravel-version-control

Foundations for making your app version controlled. Provides migration, blueprint and base models. Will make your app GxP compliant if you exclusively use the VC models and table structure as set out in this package.

1227.5k](/packages/rs-laravel-version-control)[wpsitecare/carelib

A collection of helpful functions to make creating an awesome theme more enjoyable.

164.6k](/packages/wpsitecare-carelib)

PHPackages © 2026

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