Рет қаралды 18,058
In the following video, I explain how to autoload classes, interfaces, traits and abstract classes in PHP.
First, we will see how to register custom autoloader which will autoload everything and then we will use Composer (PHP package management tool) to autoload Classes.
Useful Links:
Install composer on ubuntu: do.co/30aZGSq
Composer getting started: bit.ly/1lVaz45
More on Autoloading: bit.ly/2y0NqIs
bit.ly/2LzTY9F
Other videos on Object-Oriented PHP
------------------------------------------------------------
Namespaces - • Everything about PHP n...
Traits - • PHP traits in depth wi...
Interfaces - • Interface in PHP for b...
Introduction to OOP in PHP - • Introduction to OOP in...
Creating classes in PHP - • Creating classes, prop...
Inheritance in PHP - • Inheritance for beginn...
Follow me on social media:
/ thecodeholic
/ thecodeholic
github.com/the...