PHP composer autoload not loading class
问题 I'm just getting started using composer for dependency management and I'm having a hard time figuring out how I'm not adhering to psr-4 for autoloading so I'm here for advice. I've got a class that generates random values that is already on the packagist. The project structure is the following (I've labeled the composer.json files A and B): project dir |classfile.php A |composer.json |vendor |autoload.php |ejfrancis |php-random-value B |composer.json |RandomValue.php <--the class I want