2017 © Pedro Peláez
 

library httpstatus

Defining http status Code, Messages and Response in constants

image

lkj/httpstatus

Defining http status Code, Messages and Response in constants

  • Monday, July 16, 2018
  • by lkj
  • Repository
  • 0 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 20 % Grown

The README.md

httpstatus constants

How To Install

composer require lkj/httpstatus, (*1)

Where To Use

This package might be useful when you are creating microservices or building API's., (*2)

How to use

use HttpStatus\Response;, (*3)

$response_obj = new Response;, (*4)

$sucees_reponse = $response_obj::SUCCESS_OK;, (*5)

IF you need to use only status code or status message then you can use Code or Message Class.

The Versions

16/07 2018

dev-master

9999999-dev

Defining http status Code, Messages and Response in constants

  Sources   Download

MIT

The Requires

  • php ^5.3.3 || ^7.0

 

by Lokesh Kumar Jain

09/07 2018

0.0.1

0.0.1.0

Defining http status Code, Messages and Response in constants

  Sources   Download

MIT

The Requires

  • php ^5.3.3 || ^7.0

 

by Lokesh Kumar Jain