PHP code example of peraleks / autoload
1. Go to this page and download the library: Download peraleks/autoload 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/ */
peraleks / autoload example snippets
$loader = new \Peraleks\Autoload\ClassLoader(__DIR__);
$loader->add('Symfony\Component\VarDumper', '/vendor/symfony/var-dumper');
project_dir
vendor
index.php