Skip to content
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.

marcandreappel/http_status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Status

Travis build status Scrutinizer Code Quality Code Intelligence Status

Usage

class MyClass {
    use \MarcAndreAppel\HttpStatus\HttpStatusTrait;
    
    public function myFunction() {
        $httpStatus = $this->httpStatusCode(400);
        
        $httpStatus->header();
        print($httpStatus->message);
    }
}

About

Small library to work with HTTP Status Codes

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages