1. Go to this page and download the library: Download ssitu/euclid 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/ */
ssitu / euclid example snippets
#!/usr/bin/php
use SSITU\Euclid\EuclidCore;
if (php_sapi_name() !== 'cli') {
exit;
}
dirname(__DIR__).'/config/euclid.json';
$Euclid = new EuclidCore($argv, $configPath);
// or even
$EuclidMap = new EuclidMap();
$EuclidMap->initMap($configPath);
$EuclidMap->rmvFromMap('unsetme');
$EuclidMap->updtMap('demo', 'build*', 'methodHook');
$EuclidMap->saveMap();
$argv[4] = 'something else';
$Euclid = new EuclidCore($argv, $EuclidMap);
[0 =>'bob',1 => 0.5,'b' => 'some other bob']
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.