PHP code example of kmvan / status-code
1. Go to this page and download the library: Download kmvan/status-code library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kmvan / status-code example snippets
use Kmvan/StatusCode;
echo StatusCode::OK; // output int 200
echo StatusCode::BAD_REQUEST; // output int 400