Talk in English - US at php[tek] 2019
View Slides: https://www.slideshare.net/AlenaHolligan/dependency-management-147619964
Short URL: https://joind.in/talk/3064d (QR-Code (opens in new window))
We don’t need to burden modern PHP code with countless “require” or “include” statements. In this talk, we’ll learn how the PHP autoloader works, how to write our own autoloader, and how to work with composer’s autoloading map. We’ll see exactly how to design our namespaces for PSR-4 compatibility so everything “just works.” We’ll learn the PEAR and PECL conventions as well. We’ll finish by learning how to create our own packages for distribution and reuse.