Download the PHP package skpr/config without Composer
On this page you can find all versions of the php package skpr/config. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor skpr
Package config
Short Description Reads skipper configuration files.
License GPL-2.0-or-later
Package config
Short Description Reads skipper configuration files.
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package config
PHP Config
A simple utility for reading skpr config from a directory, and populating environment variables in PHP applications.
The default skpr config directory is /etc/skpr
Usage
Loading config
Setting environment variables
You can optionally set environment variables from Skpr config.
Keys will be converted to uppercase, and dots are converted to underscores. For example:
You can also provide a list of config keys, to avoid adding all config as environment variables:
Testing
Run tests using the following:
bin/phpunit
Code Standards
Run code style checks with the following:
bin/phpcs
All versions of config with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2||^8.0
ext-json Version *
ext-json Version *
The package skpr/config contains the following files
Loading the files please wait ....