PHPackages                             irfantoor/http - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. irfantoor/http

ActiveLibrary[HTTP &amp; Networking](/categories/http)

irfantoor/http
==============

Psr Compliant HTTP suite for Hackers

0.2.1(5y ago)0481MITPHP

Since Feb 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/irfantoor/http)[ Packagist](https://packagist.org/packages/irfantoor/http)[ RSS](/packages/irfantoor-http/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (5)Versions (4)Used By (1)

IrfanTOOR\\Http
===============

[](#irfantoorhttp)

Irfan's Http package is a hacker's Http suite which implements psr/http-factory, psr/http-message and fig/http-message-util eliminating the validations part, so that you can audit your web apps or sites against vulnerabilities or can write small API's or testing utilities.

You can forget about the constraints of validations, while trying some innovative values for the Http Requests or Responses etc.

Quick install.
--------------

[](#quick-install)

Use composer to include it in your package.

```
$ composer require irfantoor/http
```

Note: this package comes pre installed with the latest releases of Irfan's Engine (irfantoor/engine). Since there is a psr compliance at implementation of funtions, though not strictly adhering to the guide lines of validating the parameters etc., you can always use IrfanTOOR\\Http in any of your packages requiring Psr compliant Http components, with the flexibilty of testing or enhancing the protocol for your home grown Http clients, IoT devices for example.

Examples
--------

[](#examples)

Here is an example code (you can find it in the examples folder):

```
