Summary

phpspec adds a mature, robust, test-first, test-driven, and a specification-by-example approach to creating the business logic aspect of the software. This, coupled with the ease of creation of models, controllers, commands, events, and event handlers, sets Laravel at the front of the PHP framework race. Also, it has adopted many best practices that are used by the best programmers in the industry.

In this chapter, we learned how to use phpspec to easily design classes and their accompanying tests from the command line. This workflow, accompanied by Artisan, makes the process of setting up the basic structure of a Laravel 5 application very easy.

In the next chapter, we'll take a look at database migrations, the mechanics behind them, and ways to create a seed for testing.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset