Answers for "how to get session data in laravel blade"

PHP
1

get session blade

{{ session()->get('name') }}
Posted by: Guest on June-11-2020
0

set session data in laravel

$value = Session::get('key');

$value = session('key');
Posted by: Guest on April-07-2021

Code answers related to "how to get session data in laravel blade"

Browse Popular Code Answers by Language