Download the PHP package publishing-kit/http-proxy without Composer
On this page you can find all versions of the php package publishing-kit/http-proxy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download publishing-kit/http-proxy
More information about publishing-kit/http-proxy
Files in publishing-kit/http-proxy
Package http-proxy
Short Description PSR7-compliant HTTP caching proxy
License MIT
Homepage https://github.com/publishing-kit/http-proxy
Informations about the package http-proxy
http-proxy
PublishingKit/http-proxy is a simple reverse caching HTTP proxy. Rather than doing any actual caching itself, it's instead implemented as a very simple HTTPlug client, which is wrapped in the HTTPlug caching plugin.
Install
Via Composer
Usage
Assuming the following:
$app
is a callable (can be a function, or a class with the__invoke()
magic method defined) that accepts a PSR7 request object as its sole argument$cache
is an instance ofPsr\Cache\CacheItemPoolInterface
$streamFactory
is an HTTPlug stream factory implementation
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Contributing
Please see CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Matthew Daly
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of http-proxy with dependencies
php-http/cache-plugin Version ^1.7
php-http/httplug Version ^2.1
php-http/message Version ^1.8
psr/cache Version ^1.0