How to Autoload Classes With Composer in PHP

In this article, we’ll discuss the basics of autoloading in PHP and how to autoload PHP classes with Composer. I’ll explain why autoloading is so important and show you how to use Composer for autoloading step by step. I’ll also explain the difference between the different kinds of autoloading in Composer. Why Do We Need… Continue reading How to Autoload Classes With Composer in PHP

Better Workflow in PHP With Composer, Namespacing, and PHPUnit

In this video tutorial, we’ll again focus on workflow. Specifically, we’ll use Composer’s built-in autoloading capabilities, along with namespacing, to make for an elegant testing experience. We’ll also review a handful of PHPUnit best practices, as we get setup with these tools. Download – Source files Nettuts+