Project Setup with PHPUnit0:00
Before we work through our first kata, let's first set up our project. I'll create a directory called kata, and then using Composer, I'll pull in the latest version of phpunit. And if I scroll up, it looks like that is 8.5. Alright, let's open this in my editor. Alright, and let's begin by adding two directories, one for our source files, and another for the tests. Finally, in our composer.json file, we'll set up psr-4 autoloading. So we want psr-4, and let's see, our namespace will be app, and that's going to be located in the source directory.
Configuring PSR-4 Autoloading0:34
So we want psr-4, and let's see, our namespace will be app, and that's going to be located in the source directory. So the app namespace will begin in the source directory. Okay, so now I can run composer dump-autoload, and we're all set to go.
