LaravelPackages.net
Acme Inc.
Toggle sidebar
maurohmartinez/force-ssl-laravel

A simple package to force SSL requests

153
1
v1.3.0
About maurohmartinez/force-ssl-laravel

maurohmartinez/force-ssl-laravel is a Laravel package for a simple package to force ssl requests. It currently has 1 GitHub stars and 153 downloads on Packagist (latest version v1.3.0). Install it with composer require maurohmartinez/force-ssl-laravel. Discover more Laravel packages by maurohmartinez or browse all Laravel packages to compare alternatives.

Last updated

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"
Comments