PHPNews

Generating an Autoloader for a Legacy PHP Codebase

If you’ve inherited a legacy code base, you may find it does not use an autoloader and has an idiosyncratic directory and file hierarchy for its Classes, Interfaces or Traits. Worse yet, it might not use name spaces consistently or at all. So you can’t use a PSR-4 —or even PSR-0—autoloader with your code. Well, why …

Continue reading »

Written by php[architect] - The site for PHP professionals - - Aggregated on Wednesday September 6, 2017