php-http-status/httpstatuscode

Utility to interact with HTTP status code.

v1.0.0 2014-11-11 12:43 UTC

This package is not auto-updated.

Last update: 2024-04-23 01:09:04 UTC


README

Build Status

Utility to interact with HTTP status code.

GETTING THE CODE

Github

git clone git@github.com:wyixin/php-http-status.git

Composer

composer.json: Project Setup

{
    "require": {
        "php-http-status/httpstatuscode": "dev-master"
    }
}

Install

composer install

GETTING STARTED

<?php
require "src/Http/index.php";

or

<?php
require 'vendor/autoload.php';

USAGE

test.php

var_dump(Http\_Continue);
var_dump(Http\_Switching_Protocols);
var_dump(Http\Switching_Protocols);
var_dump(Http\Ok);

RUN TESTS

use phpunit

phpunit tests

TODO