create middleware in laravel 7 code example
Example 1: laravel make middleware
php artisan make:middleware CheckAge
Example 2: middleware command in laravel
php artisan make:middleware NameOfTheMiddleware
php artisan make:middleware CheckAge
php artisan make:middleware NameOfTheMiddleware