Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2022-01-30 (13 days ago) ![]() | Not yet rated by the users | Total: 57 | All time: 10,087 This week: 193![]() |
Version | License | PHP version | Categories | |||
dframe-config 4.1.7 | The PHP License | 7 | PHP 5, Configuration |
Description | Author | |
This class can load configuration values from scripts with arrays. |
$ composer require dframe/config
use Dframe\Config\Config;
include_once 'vendor/autoload.php';
$configPath = __DIR__. DIRECTORY_SEPARATOR . 'config'. DIRECTORY_SEPARATOR;
$config = Config::load('ConfigFile', $configPath);
$config->get('key1'); // Return value
$config->get('keyValid', 'yes'); // return 'yes' || if key does not exist then you can replace value
Open-sourced software licensed under the MIT license
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() |
Class | Class source | ||
![]() ![]() |
Doc. | Documentation |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.