Laravel zerstören Sitzung
# ref: https://laravel.io/forum/02-06-2014-session-destroy
Session::forget('yourKeyGoesHere') // Removes a specific variable
Stormy Serval
# ref: https://laravel.io/forum/02-06-2014-session-destroy
Session::forget('yourKeyGoesHere') // Removes a specific variable
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
function yourFunctionName (Request $request){
....
Auth::guard('web')->logout();
$request->session()->invalidate();
$request->session()->regenerateToken();
....
}