Skip to content

This library generates classmap for autoload.

License

Notifications You must be signed in to change notification settings

PiotrPress/classmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Classmap

This library generates classmap for autoload.

NOTE: This code is based on ClassMapGenerator from symfony/class-loader component.

Installation

composer require piotrpress/classmap

Usage

require __DIR__ . '/vendor/autoload.php';

use PiotrPress\Classmap;

$classmap = new Classmap( __DIR__ . '/vendor' );

// return array
$classmap->get();

// save to file
$classmap->dump( __DIR__ . '/vendor/classmap.php' );

License

GPL3.0