PSR-4 Autoloading
PSR-4 is the standard for autoloading classes in PHP.
It maps namespaces to directory structures.
Example Structure
Section titled “Example Structure”namespace App\Controllers;
class HomeController {}Directory structure:
src/ └── Controllers/ └── HomeController.php