Hello Developers,
The tutorial will demonstrate to you to use HTTPS in all routes of the Laravel Project. For that, I will show you to use the .htaccess file configuration. Using the following lines in your .htaccess file automatically redirects you to the HTTPS version of your site.
Add two line in .htaccess
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Now browse any route of your project. Hope this might help you in your development journey.