Astatroth / laravel-config by Astatroth

An extension of the Config component, it adds the ability to write to configuration files.
341
1
2
Package Data
Maintainer Username: Astatroth
Maintainer Contact: aleksey.bobkov@gmail.com (Alexey Bobkov)
Package Create Date: 2016-05-03
Package Last Update: 2017-05-26
Language: PHP
License: MIT
Last Refreshed: 2024-04-29 15:04:44
Package Statistics
Total Downloads: 341
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

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! :)