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

Popular posts from this blog

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

java - Getting exception in JDBC thin driver -