I am new in Laravel Framework. I want to set a middleware that will be called in all HTTP requests. How I set that middleware?
Use global middleware. From the docs:
If you want a middleware to run during every HTTP request to your application, list the middleware class in the
$middleware
property of yourapp/Http/Kernel.php
class.