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.
Tag
Building applications with PHP: language features, versions and practices, covered in posts, notes, short guides and practical examples. (Page 5/5)
There are 51 posts with this tag.
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.