Rethinking Namespacing in PHP

Arne BlankertsSebastian Heuer | International PHP Conference – Spring Edition |

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.

3 / 100
Download PDF

About the presenters

Arne Blankerts

Arne Blankerts has solutions ready before others have even understood the problem.

Sebastian Heuer

Sebastian Heuer is CTO at Kartenmacherei and engages in various open source projects.