riseno/laravel-ssl-protocol

Laravel SSL middleware for cloudflare flexible ssl service

1.0.0 2016-05-18 05:19 UTC

This package is not auto-updated.

Last update: 2024-04-19 19:31:24 UTC


README

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