auth middleware laravel 5.1 code example Example: laravel auth namespace use Illuminate\Support\Facades\Auth;