toyi/force-https

Force Https middleware for Laravel apps
1,191
Install
composer require toyi/force-https
Latest Version:1.1.0
PHP:>=7.2
License:MIT
Last Updated:Nov 24, 2020
Links: GitHub  ·  Packagist
Maintainer: toyi

Force Https

Packagist

Provide a simple and convenient way to force Https.

Installation

Install via composer

composer require toyi/force-https

Register Service Provider

Note! This and next step are optional if you use laravel>=5.5 with package auto discovery feature.

Add service provider to config/app.php in providers section

Toyi\ForceHttps\ServiceProvider::class,

Publish Configuration File

php artisan vendor:publish --provider="Toyi\ForceHttps\ServiceProvider" --tag="config"

Usage

Add the Toyi\ForceHttps\ForceHttps::class middleware in the web middleware group. The FORCE_HTTPS boolean env variable can be used to activate or deactivate redirections.

Security

If you discover any security related issues, please email instead of using the issue tracker.

Credits

This package is bootstrapped with the help of melihovv/laravel-package-generator.

Related Packages

owenmelbz/https-enforcement

Laravel 5.x middleware to enforce https redirection for your app.

2,597 25
bepsvpt/secure-headers

Add security related headers to HTTP response. The package includes Service Prov...

5,710,011 550
toxic-lemurs/domain-helper

A domain helper to aid in getting sub domain names and protocols.

67 3
cmpas2/ayforrest

Salesforce / Force.com REST API Client for Laravel 5

20 0
omniphx/forrest

A Laravel library for Salesforce

4,977,435 271

Version History

Version Released PHP Laravel License
1.1.0 >=7.2 ~5.8.0|^6.0|^7.0|^8.0 MIT
v1.0.3 >=7.2 ~5.8.0|^6.0|^7.0 MIT
v1.0.2 >=7.2 ~5.8.0|^6.0 MIT
v1.0.1 >=7.2 ~5.8.0 MIT
v1.0.0 >=7.2 ~5.8.0 MIT