Free Bonus Material for Laraboot: Laravel 5.2 For Beginners Released Today

Bonus chapter 12 for Laraboot: Laravel 5.2 For Beginners is complete and has been added to the book. You can download the latest copy for free by logging into your account and pulling down the latest copy. All updates and bonus material are free for the life of the book.

Chapter 12 introduces ViewMaker 3.1. ViewMaker is a free artisan plugin that you can download. I created this plugin myself to streamline workflow when you are standing up a model, views, datagrid, etc. I wasn’t happy with the idea of copying and pasting and this is so much better. It’s also better than using a template from your IDE because it chains a bunch of templates together and stands them up all at once.

ViewMaker has an incredibly simple set of commands to use, however, they do a lot, so I go fairly in depth on how to use it. The concept of making a foundation by using the make:foundation command is introduced, and that gives you everything in one command, including routes, model, migration, controller, api controller, unit test, factory method, and views, which include datatables ajax-powered grid.

ViewMaker supports different template types, so you can go with a vue.js option for example, which will also give you a working datagrid in vue.js.

ViewMaker also has a make:master command, which creates a layouts folder with a master page in it, along with all the view partials, just like we made in the book, but with a single command.

The workflow improvement is phenomenal. When you have a model you want to stand up into a working datagrid, with the make:foundation command, you can get it all done in under 1 minute.

I’m going to continue to work on ViewMaker over the course of the next year to enhance its features and build out template choices. It does a lot now, but I’m hoping to get it to the point where you feel you can’t live without it. Once it installed, you will be updated automatically every time you run composer update.

I will continue to work to help you meet some of your programming goals with Laravel. If you have a positive experience with this book, please leave a review at:

Thanks again for supporting my work.