simple authencation middleware laravel 7 code example Example: laravel auth //namespace use Illuminate\Support\Facades\Auth;