maurohmartinez / force-ssl-laravel
A simple package to force SSL requests
v1.3.0
2024-08-14 12:13 UTC
Requires
- php: ^8.0
- laravel/framework: ^8.0.0|^9.0.0|^10.0.0|^11.0.0
README
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"