cookies best or session storage for laravel 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') }}