Looking to hire Laravel developers? Try LaraJobs

laravel-config maintained by astatroth

Description
An extension of the Config component, it adds the ability to write to configuration files.
Last update
2017/03/15 08:48 (dev-master)
License
Links
Downloads
343

Comments
comments powered by Disqus

Laravel Config

An extension of the Config component, it adds the ability to write to configuration files. Compatible with Laravel 5.2.

Based on [daftspunk/laravel-config-writer] (https://github.com/daftspunk/laravel-config-writer)

Installation

Add Laravel Config to your composer.json file:

"astatroth/laravel-config": "~1.0"

and run composer update or composer install.

Another way is to require the package:

composer require astatroth/laravel-config

Next, add the package service provider to your app/config.php:

Astatroth\LaravelConfig\LaravelConfigServiceProvider::class,

That's it!

Usage

Usage is as simple as

Config::write($key, $value);

Have fun! :)