how to create middleware in laravel 6 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>