laravel save in session or save in cache code example Example: session laravel session(['name' => 'data']);