laravel with session in blade code example
Example 1: set session in laravel
Session::get('variableName');
Example 2: session laravel
session(['name' => 'data']);
Session::get('variableName');
session(['name' => 'data']);