Download the PHP package phpactor/config-loader without Composer
On this page you can find all versions of the php package phpactor/config-loader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download phpactor/config-loader
More information about phpactor/config-loader
Files in phpactor/config-loader
Download phpactor/config-loader
More information about phpactor/config-loader
Files in phpactor/config-loader
Vendor phpactor
Package config-loader
Short Description Library to load (user) configuration
License MIT
Package config-loader
Short Description Library to load (user) configuration
License MIT
Please rate this library. Is it a good library?
Informations about the package config-loader
Config Loader
Library to load an application configuration file
Usage
The above will:
- Load existing config from XDG config directory for
myapp
(e.g.$HOME/.config/myapp/config.json
). - Merge existing config from the current working directory if it exists.
Deserializers
- JsonDeserializer: Deserializes using
json_decode
. Very fast. - YamlDeserializer: Deserializes using the Symfony YAML parser requires
symfony/yaml
Path Candidates
- XdgPathCandidate: Represents candidate config file in the XDG config path for an application.
- AbsolutePathCandidate: Represents an arbitrary config file at an absolute path.
Contributing
This package is open source and welcomes contributions! Feel free to open a pull request on this repository.
Support
- Create an issue on the main Phpactor repository.
- Join the
#phpactor
channel on the Slack Symfony Devs channel.
All versions of config-loader with dependencies
PHP Build Version
Package Version
Requires
dnoegel/php-xdg-base-dir Version
^0.1.0
webmozart/path-util Version ^2.3
php Version ^7.3 || ^8.0
webmozart/path-util Version ^2.3
php Version ^7.3 || ^8.0
The package phpactor/config-loader contains the following files
Loading the files please wait ....