PHP code example of sikofitt / retrorsum
1. Go to this page and download the library: Download sikofitt/retrorsum 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/ */
sikofitt / retrorsum example snippets
use Sikofitt\Retrorsum\Finder;
$finder = new Finder('autoload.php');
define('BASE_DIR', dirname((string)$finder));
define('BASE_DIR', dirname((string)(new Finder('autoload.php'))));
$finder = new Finder('autoload.php');
if(true === $finder->isFound())
{
define('BASE_DIR', dirname($finder->getPath()));
} else {
// Whatever your other method would be.
}