shrikeh/teapot - HTTP Status Codes (PHP Package)
August 17 2016, 4:31pm
If you are using Laravel or Symfony for comparing http status codes eg $status_code = Response::HTTP_NOT_FOUND
you might find this library helpful $status_code = Http::NOT_FOUND
- it's a little shorter, and the whole RFC description of the status code is in the docblock so you don't have to google what it means.