<?php
// app/Http/Kernel.php
namespace App\Http;

use Illuminate\Foundation\Http\Kernel as HttpKernel;

class Kernel extends HttpKernel
{
    // Other properties and methods...

    protected $routeMiddleware = [
        // ... other middleware
        'auth.admin' => \App\Http\Middleware\AdminAuthenticate::class,
    ];
}