make:middleware

Create a new middleware class

Arguments

  • name - The name of the class Required
php artisan make:middleware <name>