We can pass an array of data as the second argument of the view() function. Each key in this array will then be extracted into a variable within your view. Let's build a basic two-page Job listings section to illustrate this.
A Pro subscription is required to watch this lesson.
For a small fee, get access to this episode and hundreds of hours of educational content from leading Laravel developers.
“Laracasts taught me more in one month than two years at university. Truly essential.
