Understanding Route Parameters & Passing Data to Views in Laravel 5.2 – 2016
You’ll learn how to setup route parameters when you want to load routes dynamically.
Learn how to Pass data to views in Laravel 5.2 & understand the blade templating engine at its basic level.
You can pass data to its view by 2 ways.
1) By passing an array – specifically an associative array.
2) By attaching with a “with” method & chaining with as many as “with”s needed.
source