Fix composer autoload from classmap to files#3
Conversation
Use "files" autoloading instead of "classmap". This will make composer auto-require the file, and allow it to be actually used properly.
|
Classmap only works for classes. Since the file also contains functions, files will make sure those functions can be used as well, without requiring the class to be instantiated first. In particular the |
|
Ahh, cheers, I understand now. Thanks for reporting. The I think the interim solution is to recommend that you use the I'm not overly fond of the verbosity of |

Use "files" autoloading instead of "classmap". This will make
composer auto-require the file, and allow it to be actually used
properly.