PHPackages                             headzoo/web-tools - 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. headzoo/web-tools

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

headzoo/web-tools
=================

A collection of PHP classes used for making and handling web requests.

0.2(12y ago)012022MITPHPPHP &gt;=5.5.0

Since Mar 24Pushed 12y ago1 watchersCompare

[ Source](https://github.com/headzoo/web-tools)[ Packagist](https://packagist.org/packages/headzoo/web-tools)[ RSS](/packages/headzoo-web-tools/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (4)Used By (2)

Web Tools
=========

[](#web-tools)

A collection of PHP classes used for making web requests, and parsing information related to the HTTP protocol.

- [Overview](#overview)
- [Requirements](#requirements)
- [Installing](#installing)
- [Quick Start](#quick-start)
- [Class Documentation](#class-documentation)
- [Change Log](#change-log)
- [TODO](#todo)
- [License](#license)

Overview
--------

[](#overview)

This library contains classes which can be used to perform the following tasks:

- Make GET/POST requests to remote servers.
- Parse raw HTTP headers, and build raw HTTP headers.
- Parse raw HTTP requests.
- Provides a very small web server written in PHP for testing purposes.

Requirements
------------

[](#requirements)

- [PHP 5.5 or greater](https://php.net/downloads.php).
- [cURL PHP extension](https://php.net/curl).
- [psr/log](https://github.com/php-fig/log).
- [headzoo/utilities](https://github.com/headzoo/utilities).

Installing
----------

[](#installing)

The library may be installed using either git or Composer, but I strongly recommend using Composer so dependencies will be automatically installed. Add the web-tools dependency to your composer.json using the following code:

```
"require": {
    "headzoo/web-tools" : "dev-master"
}

```

Quick Start
-----------

[](#quick-start)

```
