Organizing Code with Namespaces in PHP
Code organization that eliminates name collisions and fits the modern library ecosystem: PHP namespace usage and the use statement.
Blog
My writing, videos and posts across platforms on software architecture, PHP, DevOps and product development. (Page 30/30)
Code organization that eliminates name collisions and fits the modern library ecosystem: PHP namespace usage and the use statement.
Moving away from manual class includes to standard autoloading: the difference between PSR-0 and PSR-4, and Composer integration.
The practical side of moving from a pile of manual requires to modern dependency management: composer.json, autoloading, and installing packages.