├── LICENSE └── README.md /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016 PHP HTTP Team 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Awesome HTTP 2 | 3 | A curated list of amazingly awesome PHP libraries, resources and shiny things related to HTTP. 4 | 5 | *(Inspired by [awesome-php](https://github.com/ziadoz/awesome-php#http))* 6 | 7 | ## Table of Contents 8 | 9 | - [Awesome HTTP](#awesome-http) 10 | - [Client](#client) 11 | - [Message](#message) 12 | - [Middleware](#middleware) 13 | - [Middleware dispatcher](#middleware-dispatcher) 14 | - [Testing](#testing) 15 | 16 | ## Client 17 | *HTTP Clients and adapters.* 18 | 19 | - [Guzzle](http://guzzlephp.org) 20 | - [Buzz](https://github.com/kriswallsmith/Buzz) 21 | - [HTTPFul](https://github.com/nategood/httpful) 22 | - [Requests](https://github.com/rmccue/Requests) 23 | - [HTTPlug](http://httplug.io) - PSR-7 HTTP Client interface. 24 | - [cURL client](https://github.com/php-http/curl-client) 25 | - [Socket client](https://github.com/php-http/socket-client) 26 | - [Guzzle 6 adapter](https://github.com/php-http/guzzle6-adapter) - HTTPlug adapter for Guzzle 6. 27 | - [Guzzle 5 adapter](https://github.com/php-http/guzzle5-adapter) - HTTPlug adapter for Guzzle 5. 28 | - [Buzz adapter](https://github.com/php-http/buzz-adapter) - HTTPlug adapter for Buzz. 29 | - [React adapter](https://github.com/php-http/react-adapter) - HTTPlug adapter for React. 30 | 31 | 32 | ## Message 33 | *HTTP Message (mostly PSR-7) related implementations.* 34 | 35 | - [Guzzle PSR-7](https://github.com/guzzle/psr7) - PSR-7 HTTP Message implementation. 36 | - [Zend Diactoros](https://github.com/zendframework/zend-diactoros) - PSR-7 HTTP Message implementation. 37 | - [PHP HTTP Message](https://github.com/php-http/message) - PSR-7 Message extensions and tools. 38 | - [PHP HTTP Message Factory](https://github.com/php-http/message-factory) - PSR-7 Message Factory interfaces. 39 | 40 | 41 | ## Middleware 42 | *HTTP Middleware implementations.* 43 | 44 | - [akrabat/rka-ip-address-middleware](https://github.com/akrabat/rka-ip-address-middleware) 45 | - [akrabat/rka-scheme-and-host-detection-middleware](https://github.com/akrabat/rka-scheme-and-host-detection-middleware) 46 | - [bear/middleware](https://github.com/bearsunday/BEAR.Middleware) 47 | - [hannesvdvreken/psr7-middlewares](https://github.com/hannesvdvreken/psr7-middlewares) 48 | - [los/api-problem](https://github.com/Lansoweb/api-problem) 49 | - [los/los-rate-limit](https://github.com/Lansoweb/LosRateLimit) 50 | - [monii/monii-action-handler-psr7-middleware](https://github.com/monii/monii-action-handler-psr7-middleware) 51 | - [monii/monii-nikic-fast-route-psr7-middleware](https://github.com/monii/monii-nikic-fast-route-psr7-middleware) 52 | - [monii/monii-response-assertion-psr7-middleware](https://github.com/monii/monii-response-assertion-psr7-middleware) 53 | - [mtymek/blast-base-url](https://github.com/mtymek/blast-base-url) 54 | - [ocramius/psr7-session](https://github.com/Ocramius/PSR7Session) 55 | - [oscarotero/psr7-middlewares](https://github.com/oscarotero/psr7-middlewares) 56 | - [php-middleware/block-robots](https://github.com/php-middleware/block-robots) 57 | - [php-middleware/http-authentication](https://github.com/php-middleware/http-authentication) 58 | - [php-middleware/log-http-messages](https://github.com/php-middleware/log-http-messages) 59 | - [php-middleware/maintenance](https://github.com/php-middleware/maintenance) 60 | - [php-middleware/phpdebugbar](https://github.com/php-middleware/phpdebugbar) 61 | - [php-middleware/request-id](https://github.com/php-middleware/request-id) 62 | - [relay/middleware](https://github.com/relayphp/Relay.Middleware) 63 | 64 | 65 | ## Middleware dispatcher 66 | *HTTP Middleware builders/dispatchers/applications.* 67 | 68 | - [Adroit](https://github.com/bitExpert/adroit) 69 | - [Glue](https://github.com/madewithlove/glue) 70 | - [Middleman](https://github.com/mindplay-dk/middleman) 71 | - [Relay](https://github.com/relayphp/Relay.Relay) 72 | - [Slim](https://github.com/slimphp/Slim) 73 | - [Zend Expressive](https://github.com/zendframework/zend-expressive) 74 | - [Zend Stratigility](https://github.com/zendframework/zend-stratigility) 75 | 76 | 77 | ## Testing 78 | *HTTP related testing tools.* 79 | 80 | - [PHP VCR](http://php-vcr.github.io/) - A library for recording and replaying HTTP requests. 81 | - [PSR-7 Assertions](https://github.com/Maks3w/Psr7Assertions) - PSR-7 conformance test helpers. 82 | - [PSR-7 Assertions](https://github.com/martin-helmich/phpunit-psr7-assert) - PSR-7 assertions for testing PSR-7 usage. 83 | --------------------------------------------------------------------------------