Download the PHP package cheatcodes/guzzle-hsts without Composer
On this page you can find all versions of the php package cheatcodes/guzzle-hsts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package guzzle-hsts
guzzle-hsts
This is a Guzzle middleware to handle HTTP Strict Transport Security.
Installation
Make sure you have Composer installed and add guzzle-hsts as a dependency.
Usage
Make sure Guzzle uses the CheatCodes\GuzzleHsts\HstsMiddleware::handler()
as a middleware by pushing it onto the
handler stack. After that, all http requests to known HSTS hosts will be automatically rewritten to https.
An example:
License
MIT
All versions of guzzle-hsts with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
^6.2
The package cheatcodes/guzzle-hsts contains the following files
Loading the files please wait ....