create middleware in laravel 5.5 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>