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
@jeffochoa
jeffochoa / Response.php
Last active June 7, 2025 08:04
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;
@gp187
gp187 / currencies.json
Created February 9, 2017 12:32
All currencies in JSON -- Array of Objects
[{
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
}, {
"symbol": "CA$",