Config rewrite for Laravel. Allows to save key and values in config files.
microweber-packages/laravel-config-extended is a Laravel package for config rewrite for laravel. allows to save key and values in config files..
It currently has 1 GitHub stars and 34.099 downloads on Packagist (latest version v1.2).
Install it with composer require microweber-packages/laravel-config-extended.
Discover more Laravel packages by microweber-packages
or browse all Laravel packages to compare alternatives.
Last updated
Config class to use in Microweber CMS for Laravel. It allows saving of the config file.
Use composer to install the package:
composer require microweber-packages/laravel-config-extended
The Laravel Extended Config package extends Laravel's default configuration system by adding a save method. This allows you to persistently save configuration changes. Here's a basic example:
use Illuminate\Support\Facades\Config;
// Set a value
Config::set('app.name', 'New App Name');
// Save the changes
Config::save(['app']);
In this example, the app.name configuration value is changed and then saved. The save method takes an array of configuration files to save. In this case, it saves the app configuration file.
Run the tests with:
composer test