14four/laravel-force-https
Laravel middleware package to force HTTPS across your app. Automatically redirects HTTP requests to HTTPS, with options to exclude paths or environments so you can keep local/testing flexible while enforcing secure connections in production.
spatie/laravel-hsts or graham-campbell/security instead).Executives: "This package automates HTTPS enforcement for our Laravel app, eliminating security gaps without dev effort. It’s a 5-minute setup that aligns with compliance needs—like locking all doors in a building. Cost: zero. Risk: minimal. ROI: immediate security uplift with no trade-offs."
Engineering: *"A drop-in Laravel package to force HTTPS globally, replacing ad-hoc middleware or route-specific redirects. Key benefits:
spatie/laravel-hsts."*DevOps/Security:
"Reduces attack surface by ensuring all traffic uses HTTPS, even if developers forget to mark routes as secure. Integrates seamlessly with Laravel’s middleware stack—no proxy or server config changes required. Perfect for hardening apps before audits or launches."
How can I help you explore Laravel packages today?