if (Auth::attempt(['email' => $email, 'password' => $password])) { // User is logged in... }
if (Auth::check()) { // User is authenticated... }
$user = Auth::user();This package library is part of Laravel's built-in facades, which provide a simple way to access commonly used Laravel classes. The `Auth` facade specifically provides an easy way to interact with Laravel's authentication system.