php - Autoload all classes in a directory using composer, without issuing cammands -
in project have features can extended end user on production server uploading class file specific directory (like wordpress plugins directory) classes can added , removed dynamically @ time.
currently i'm doing using spl_autoload_register
function.
can make functionality available using composer, in order make project more standard?
the answer yes, if stick psr-0 or (preferred) psr-4 standard class , file names.
Comments
Post a Comment