Download the PHP package alex014/confy without Composer
On this page you can find all versions of the php package alex014/confy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download alex014/confy
More information about alex014/confy
Files in alex014/confy
Download alex014/confy
More information about alex014/confy
Files in alex014/confy
Vendor alex014
Package confy
Short Description Confy the configuration utility
License MIT
Package confy
Short Description Confy the configuration utility
License MIT
Keywords configaration
Please rate this library. Is it a good library?
Informations about the package confy
Confy the configuration utility
Instalation and usage
composer require alex014/confy
Methods
Confy::load(string $filename)
load configuration file (ini, json, php, yaml formats are supported), many configuration files can be loadedConfy::get(string $name)
get configuration valueConfy::has(string $name)
check configuration key existanceConfy::set(string $name, $value)
set configuration valueConfy::unset(string $name)
delete configuration valueConfy::getAll()
Plugins
- All plugins are located in
/src/Parser
directory. - All plugins must be named by Capitalized file extension (Ini.php -> .ini).
- All plugin classes must implement
\Confy\Interfaces\Parser
interfaceRun tests
- Install PHPUnit
wget -O phpunit https://phar.phpunit.de/phpunit-9.phar
andchmod +x phpunit
- Run tests
./phpunit ConfyTest.php
License
MIT license
All versions of confy with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package alex014/confy contains the following files
Loading the files please wait ....