add session variable to laravel route code example
Example: laravel use session values in view
<!--This is placed in the view section --> {{ session('key_name') }}
<!--This is placed in the view section --> {{ session('key_name') }}