Share on Facebook0Tweet about this on Twitter0Share on Google+0Share on TumblrEmail this to someone

Namespaces are like a virtual directory structure for your classes. Namespaces are declared using the namespace keyword. In this tutorial you will learn about basics of namespaces, real examples, aliasing , PSR-0/PSR-4 autoloading and composer & PSR-4 autoloading.


A Brief Introduction to PHP Namespacing

How to organize class namespaces