Download the PHP package packaged/config without Composer
On this page you can find all versions of the php package packaged/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
Configuration Package
General Usage
$configProvider = new \Packaged\Config\ConfigProvider();
$configProvider->addItem("database", "hostname", "tester.local");
$configProvider->addItem("database", "username", "root");
// Retrieve the section and then pull the item specifically
// This method is great if you want to pass the whole section
// into an object to configure it
$section = $configProvider->getSection("database");
$hostname = $section->getItem("hostname", "localhost");
echo "Located '$hostname' as the hostname from a section item get\n";
//Retrieve a single config item directly from the provider
// This method is useful for one off retrievals of an item
$username = $configProvider->getItem("database", "username", "brooke");
echo "Located '$username' as the username from a single item get\n";
All versions of config with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
The package packaged/config contains the following files
Loading the files please wait ....