In this video, I'm gonna be talking about Laravel HTTPS configurations. We will be fixing some of the basic problems that occur when using HTTPS with Laravel. A general use case is in Heroku deployed Laravel applications (in other providers too) where HTTPS issue comes along. This includes Laravel assets not loading such as css stylesheets not loading in Laravel or js not loading etc. This is because of the mixed content issue, that is, requesting an insecure resource from a secure domain. We will fix this issue and we will also talk about a lot of Laravel configurations that is touched in production environments. We will talk about asset helper function as well secure_asset helper function in Laravel blade templates. We will also look into service providers such as the built in AppServiceProvider and its boot function and also the forceScheme static method on the URL class to force HTTPS in Laravel incoming urls. Finally, we will also talk about the config app.php where the actual environment of the application is decided, whether it is local or production (which is done by checking APP_ENV in .env file / environment variable).
Subscribe | Code Band
How to Deploy Laravel Project with Database on Heroku for Free : • How to Deploy Laravel Project with Da...
Other videos in Code Band:
Custom Authentication in Laravel|Username Authentication Laravel|Laravel Phone Number Authentication : • Custom Authentication in Laravel|User...
Laravel Authentication Tutorial | Easily Explained with Example | Register,Login,Logout | Code Band : • Laravel Authentication Tutorial | Eas...
16 video Laravel Tutorial for Beginners : • Laravel Tutorial for Beginners
Instagram Automation using Python : • Instagram Automation using Python | W...
Top 5 Programming Languages to Learn in 2020 : • Top 5 Programming Languages to Learn ...
:) You Can Find Me On:
My Website - https://jasim.tech/
Linkedin - / akjasim
Github - https://github.com/akjasim/
Facebook - / jasimakjasim
Twitter - / akjasim
Instagram - / jasim_ak