Skip to content

Instantly share code, notes, and snippets.

View shreekrishnalamichhane's full-sized avatar
🏠
Work from home

Shree Krishna Lamichhane shreekrishnalamichhane

🏠
Work from home
View GitHub Profile
@shreekrishnalamichhane
shreekrishnalamichhane / Response.php
Created July 18, 2021 11:33 — forked from jeffochoa/Response.php
Laravel HTTP status code
<?php
// This can be found in the Symfony\Component\HttpFoundation\Response class
const HTTP_CONTINUE = 100;
const HTTP_SWITCHING_PROTOCOLS = 101;
const HTTP_PROCESSING = 102; // RFC2518
const HTTP_OK = 200;
const HTTP_CREATED = 201;
const HTTP_ACCEPTED = 202;