1. Go to this page and download the library: Download didatus/config library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
didatus / config example snippets
use Didatus\Config\Config;
$config = new Config(['foo' => 'bar']);
$config = new Config(['foo' => 'bar']);
$config->getFoo();
$config = new Config([
'package' => [
'name' => 'FooBar',
'description' => 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.'
]
]);
$config->getPackageName();
$config = new Config([
'package' => [
'name' => 'FooBar',
'description' => 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.'
]
]);
$packageConfig = $config->getPackageConfig();
$packageConfig->getName();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.