Download the PHP package padosoft/laravel-https without Composer
On this page you can find all versions of the php package padosoft/laravel-https. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download padosoft/laravel-https
More information about padosoft/laravel-https
Files in padosoft/laravel-https
Package laravel-https
Short Description Force redirect to https for Laravel.
License MIT
Homepage https://github.com/padosoft/laravel-https
Informations about the package laravel-https
Laravel Package to force https redirect.
This package provides a laravel middleware to force https redirect.
Table of Contents
- Laravel Package to force https redirect.
- Requires
- Installation
- USAGE
- Change log
- Testing
- Contributing
- Security
- Credits
- About Padosoft
- License
Requires
- "php" : ">=5.6.0",
- laravel/framework": "~5.2"
Installation
You can install the package via composer:
FOR LARAVEL 5.6+
No additional steps required because the service provider use new L5.5+ autodiscovery feature.
FOR LARAVEL <=5.5
You must install this service provider.
publish config (optional)
Optionally publish the packages config file by running the following from your projects root folder:
register the middleware
Add the middleware to your routes or controller. See Usage.
USAGE
From Route File:
You can include the HttpsForce in a route groups or on individual routes.
Route Group Example:
Individual Route Examples:
From Controller File:
You can include the HttpsForce in the constructor of your controller file.
Controller File Example:
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email instead of using the issue tracker.
Credits
- Lorenzo Padovani
- All Contributors
About Padosoft
Padosoft (https://www.padosoft.com) is a software house based in Florence, Italy. Specialized in E-commerce and web sites.
License
The MIT License (MIT). Please see License File for more information.