Laravel Blade Foreach ✅ Lesson 15


In this lesson, we will pass the posts we created in previous lessons to our posts.index view & our posts.show views.

Using Laravel's @foreach blade directive, we will iterate over each one of our posts and properly output the content for each.

Once we have completed our Posts index view, we will set up each post to on our index page to link to its individual "show" page -- by the end of this lesson we will have completed two of our resourceful routes for our posts we created in earlier lessons.

Dive in, as we check out the power of Laravel Blade Foreach Loops as well as everything else that happens to be incredible about Laravel.

#laravel #laravel blade #laravel blade foreach

[Lesson 15] Laravel Blade Foreach ✅ (Laravel 7: Posts Index & Show Views)
2.40 GEEK