air-php/http

There is no license information available for the latest version (v0.6) of this package.

A HTTP library.

v0.6 2016-02-09 09:53 UTC

This package is not auto-updated.

Last update: 2024-04-23 01:35:36 UTC


README

Build Status Scrutinizer Code Quality

The HTTP library includes classes for abstracting the Hypertext Transfer Protocol.

Installation

Installation via Composer is recommended.

"require": {
    "air-php/http": "dev-master"
}

Request

The Request class encapsulates a HTTP request. You can create a Request like so:

<?php

use Air\HTTP\Request\Request;

new Request('http://www.test.com/test/', 'GET');

Once you have a Request object, it offers convenient methods for accessing request data, such as getUriPath() and getQueryParameters().