Rethinking Namespacing in PHP
When introduced in PHP, namespaces where seen as a mere convenience: shorter class names, yet no danger of collisions. Focusing on technicalities, strict rules like PSR-0 or PSR-4 were established to define how namespaces are to be structured and mapped into a directory layout. Since then, developers blindly follow these rules, ignoring the original concept of namespaces and the benefits they can offer. It’s time to change that.