Learn how to redirect to HTTPS using Laravel Middleware
4 years ago
Stephen Jude wrote a good tutorial on how to redirect to HTTPS using Laravel Middleware.
So there are lots of things that you can do with middleware but for this tutorial we are going to check if any HTTP request is entering our application and them force it to use HTTPS.
Link: