Pass Data to View
In most cases, views are going to need some data. By the end of this episode you will know how to pass data to your views in 2 different methods and how to echo them out in a view using Blade.
Views are the way that we add HTML and front end code to our application. We will create a blank file and correctly display it on the browser using the view() helper function.
View Composers come in very handy for "automatically" attaching data to views. This allows you to pull in views without worrying about proving the necessary data to make it work. Let's explore an example of it using the idea of Channels.
Cleaning Up The Views
Let's take some time to clean up our views file and make our project look better by adding some Twitter Bootstrap classes.