Download the PHP package painlesscode/laravel-dynamic-config without Composer
On this page you can find all versions of the php package painlesscode/laravel-dynamic-config. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download painlesscode/laravel-dynamic-config
More information about painlesscode/laravel-dynamic-config
Files in painlesscode/laravel-dynamic-config
Download painlesscode/laravel-dynamic-config
More information about painlesscode/laravel-dynamic-config
Files in painlesscode/laravel-dynamic-config
Vendor painlesscode
Package laravel-dynamic-config
Short Description A laravel package to control configuration dynamically
License MIT
Package laravel-dynamic-config
Short Description A laravel package to control configuration dynamically
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-dynamic-config
Laravel Dynamic Config
Introduction
This Package allow users to have their configuration stored in database, makes it easy to customize. Support cache for faster access.
Installation
You can install the package via composer:
publish the config with:
Usage
You just need to decide which config file(s) you want them to be dynamically editable by appending file name to dynamic_configs
array :
dynamic_config
array for testing purpose. You are free to remove it, if you don't need it.- The default values will be taken from the actual config file.
- Adding
dynamic_config
to thedynamic_configs
array have no effect.- You can enable cache for faster access. To enable cache dynamic configuration. just edit
enable_cache
key ofdynamic_config.php
file totrue
.- Cache file will be stored at
bootstrap/cache/dynamic_config.php
file. You can change the cache file name by editingcache_file_name
key of ofdynamic_config.php
file.
Getting Dynamic Config Value
Getting Original Config Value
Setting Dynamic Config Value
Revert config value
to revert a config value to its original state:
All versions of laravel-dynamic-config with dependencies
PHP Build Version
Package Version
Requires
ext-json Version
*
The package painlesscode/laravel-dynamic-config contains the following files
Loading the files please wait ....