2017 © Pedro Peláez
 

library laravel-https

Provides some initial https setup

image

morningtrain/laravel-https

Provides some initial https setup

  • Monday, January 2, 2017
  • by morningtrain
  • Repository
  • 5 Watchers
  • 1 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Helper for SSL & HTTPS

Install

Via Composer, (*1)

``` bash $ composer require morningtrain/laravel-https, (*2)


## Usage Deploy the config files. ``` bash $ php artisan vendor:publish

Update the following in your .env:, (*3)

USE_SSL=true
REDIRECT_TO_HTTPS=true

Register the ForceSSL middleware as a global middleware in your App\Httk\Kernel class: php class Kernel extends HttpKernel { /** * The application's middleware stack. * * @var array */ protected $middleware = [ \MorningTrain\Laravel\Https\Http\Middleware\ForceSSL::class, ]; }, (*4)

Credits

The Versions

02/01 2017

dev-master

9999999-dev https://github.com/morningtrain/https

Provides some initial https setup

  Sources   Download

MIT

The Requires

 

The Development Requires

https morningtrain

02/01 2017

1.1

1.1.0.0 https://github.com/morningtrain/https

Provides some initial https setup

  Sources   Download

MIT

The Requires

 

The Development Requires

https morningtrain

02/01 2017

1.0

1.0.0.0 https://github.com/morningtrain/https

Provides some initial https setup

  Sources   Download

MIT

The Requires

 

The Development Requires

https morningtrain