How does PSR-4 autoloading work in composer for custom libraries?
问题 I use the following directory structure based on my understanding of how namespaces in PHP work: project_root app/ | lib/ | | MyCompany/ | | | Utility/ | | | | Logger.php | | | Core/ | | | | User.php vendor/ composer/ symfony/ guzzle/ bootstrap.php composer.json According to the PSR-4 specification, a fully qualified class name has the following form: \<NamespaceName>(\<SubNamespaceNames>)*\<ClassName> Question 1: From my directory structure above, is the assumption below correct?