1. Go to this page and download the library: Download andrey-tech/utils-php 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/ */
andrey-tech / utils-php example snippets
use \App\Utils\FileUtils;
class Example
{
use FileUtils;
public function __construct()
{
echo get_Name, $createDir = true);
echo $absFileName . PHP_EOL;
}
}
$e = new Example();