PHP code example of theorx / autoloadermap

1. Go to this page and download the library: Download theorx/autoloadermap 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/ */

    

theorx / autoloadermap example snippets




LoaderMap = new Theorx\AutoLoaderMap\AutoLoaderMap();

//get Classmap
$autoLoaderMap->getClassMap(); //Returns array of classes

//get namespaces
$autoLoaderMap->getNamespaces(); // Returns array of namespaces from autoload_namespaces.php

//get PSR-4 
$autoLoaderMap->getPSR4(); // Returns psr-4