how to get session data in laravel blade code example Example: get session blade {{ session()->get('name') }}