Source code for chapter 3 of Laravel in Action