| 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: | 2025-11-05 15:04:46 |
| Package Statistics | |
|---|---|
| Total Downloads: | 343 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 1 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
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)
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 is as simple as
Config::write($key, $value);
Have fun! :)