php-composer-class-map-generator

Utilities to scan PHP code and generate class maps
  https://github.com/composer/class-map-generator
  0
  no reviews



This library allows one to scan a directory and extract a classmap with all classes/interfaces/traits/enums mapped to their paths.

For more advanced usage, one can instantiate a generator object and call scanPaths one or more time then call getClassMap to get a ClassMap object containing the resulting map + eventual warnings.