PHP Architect · Vol 19, Issue 9 · September 2020
Education Station: Autoloading Your Code
by Chris Tankersley
Broadly speaking, autoloading is a mechanism for the loading code into your program on demand. If you look at a single request in your application, chances are it needs a different set of classes than another request. Where a “Login” action may use a controller, database class, and an authentication layer, a “Logout” action may need nothing more than the controller itself.
The full article is in PHP Architect Vol 19, Issue 9. Subscribe to read it and every new issue.