Download the PHP package fyre/config without Composer
On this page you can find all versions of the php package fyre/config. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package config
FyreConfig
FyreConfig is a free, open-source configuration library for PHP.
Table Of Contents
- Installation
- Methods
Installation
Using Composer
In PHP:
Methods
Add Path
Add a config path.
$path
is the path to add.$prepend
is a boolean indicating whether to prepend the file path, and will default to false.
Clear
Clear config data.
Consume
Retrieve and delete a value from the config using "dot" notation.
$key
is the key to lookup.$default
is the default value to return, and will default to null.
Delete
Delete a value from the config using "dot" notation.
$key
is the key to remove.
Get
Retrieve a value from the config using "dot" notation.
$key
is the key to lookup.$default
is the default value to return, and will default to null.
Get Paths
Get the paths.
Has
Determine if a value exists in the config.
$key
is the key to check for.
Load
Load a file into the config.
$file
is a string representing the config file.
Remove Path
Remove a path.
$path
is the path to remove.
Set
Set a config value using "dot" notation.
$key
is the key.$value
is the value to set.$overwrite
is a boolean indicating whether previous values will be overwritten, and will default to true.
All versions of config with dependencies
PHP Build Version
Package Version
The package fyre/config contains the following files
Loading the files please wait ....