laravel call session variable blade code example Example: get session blade {{ session()->get('name') }}