PHP Classes
elePHPant
Icontem

PHP HTTP Status Code Constants: Get messages and descriptions of HTTP status codes

Recommend this page to a friend!

  Author Author  
Name: Kacper Rowinski <contact>
Classes: 12 packages by
Country: Poland Poland
Innovation award
Innovation award
Nominee: 5x


  Detailed description   Download Download .zip .tar.gz  
This class can be used to get messages and descriptions of HTTP status codes.

It contains definitions of constants all common HTTP response status codes including the respective message to be returned with the code in a HTTP response and the respective description.

The class can return the message or the description for a given HTTP status code.

Details

http-status-codes

PHP List of HTTP status codes, messages and description for them.

Why?

Almost every framework got one but none external as external package to use in your own project. Hope this will help others.


  Classes of Kacper Rowinski  >  PHP HTTP Status Code Constants  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  

 

Name: PHP HTTP Status Code Constants
Base name: http-status-codes
Description: Get messages and descriptions of HTTP status codes
Version: -
PHP version: 5
License: MIT/X Consortium License
 
  Groups   Applications   Files Files  

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes


  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imagesrc (1 directory)
Files folder imagetests (1 directory)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageHttpStatusCodes (1 file)

  Files folder image Files  /  src  /  HttpStatusCodes  
File Role Description
  Plain text file HttpStatusCodes.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageUnit (1 file)

  Files folder image Files  /  tests  /  Unit  
File Role Description
  Plain text file HttpStatusCodesTest.php Class Class source

Download Download all files: http-status-codes.tar.gz http-status-codes.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.