Organizing your Blade files
To begin, let's look over where our theme files exist per the default Laravel install and do some touch up work to organize them in a better way. We are also going to use a scaffolding library to get us going quickly.
Getting ready
If you have been following this far, you are set. Any fresh install of Laravel should be fine too.
How to do it...
- Install this library, https://github.com/alnutile/l5scaffold, as the documents note. Note the extra step, since it is a fork:
And you may have to add
minimum-stability
at the end of thecomposer.json
file: - Then we are going to
scaffold
out a model, migration, views, and more. - It will ...
Get Laravel 5.x Cookbook now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.