Skip to content

maurohmartinez/force-ssl-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Force SSL for Laravel

Latest Version on Packagist Total Downloads

A simple package to force SSL in Laravel applications.

Just add to your .env file the following line in those environments where you want to skip it (by default it is true).

   FORCE_SSL_ENABLED=true

Or publish the config file and edit it from there.

   php artisan migratephp artisan vendor:publish --provider="MHMartinez\ForceSsl\Providers\ForceSslServiceProvider"