Laravel SSL middleware that force http request to https for cloudflare flexible ssl service.
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.
The Laravel SSL Protocol is open-sourced software licensed under the MIT license