Load Any PHP Class using Composer’s Autoloader

Load Any PHP Class using Composer’s Autoloader



Access the full course: https://www.udemy.com/php-email/?couponCode=YAPA1

Composer has its own autoloader that automatically includes all the autoloaders of each package installed.

However, composer’s autoloader is not just for third-party packages. We can also add our own classes to it, so we don’t have to explicitly require any external classes at all.

source