PHP code example of varunsridharan / php-classmap-generator

1. Go to this page and download the library: Download varunsridharan/php-classmap-generator 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/ */

    

varunsridharan / php-classmap-generator example snippets



/**
 * Last Updated: Wed 02-Oct-2019 / 10:23:12:am
 * Total Class:  3
 * Namespace: 
 */

return array (
  'Namespace\\Class1' => 'your-path/class1.php',
  'Namespace\\Deep1\\Class2' => 'your-path/deep1/class2.php',
  'Simple_Class' => 'simple_class.php',
);
json
{
  "Namespace\\Class1"      : "your-path/class1.php",
  "Namespace\\Deep1\\Class2" : "your-path/deep1/class2.php",
  "Simple_Class" : "simple_class.php"
}