laravel 6 middleware tutorial code example
Example 1: laravel make middleware
php artisan make:middleware CheckAge
Example 2: create middleware laravel
php artisan make:middleware <middleware-name>
php artisan make:middleware CheckAge
php artisan make:middleware <middleware-name>