Concept Flow - Composer autoload mechanism
Start PHP script
Include vendor/autoload.php
Composer autoloader registers
Class requested
Autoloader searches class map or PSR-4 paths
Found
Load file
Class usable in script
The PHP script includes Composer's autoload file, which registers an autoloader. When a class is used, the autoloader looks up the class file and loads it automatically.