/laravel-ssl-protocol

Laravel SSL middleware for cloudflare flexible ssl service

Primary LanguagePHPMIT LicenseMIT

Laravel SSL Protocol

Latest Stable Version Total Downloads License

Laravel SSL middleware that force http request to https for cloudflare flexible ssl service.

Installation

Require this package with composer using the following command:

composer require riseno/laravel-ssl-protocol

After updating composer, add the middleware to the middleware array in app/http/Kernel.php if you want to make it globally enabled.

Riseno\SSLProtocol\SSLMiddleware::class,

License

The Laravel SSL Protocol is open-sourced software licensed under the MIT license