PSR-4 Autoloading Standard
Understand how PSR-4 maps namespace segments to directory paths.
What is Autoloading?
Autoloading means PHP automatically loads a class file the first time you use that class — no manual require needed.
Before Autoloading
Without autoloading, every file began with dozens of require_once calls — fragile and hard to maintain.
All lessons in this course
- Declaring and Using Namespaces
- Nested Namespaces and Aliases
- PSR-4 Autoloading Standard
- Registering Autoloaders