PHP code example of soloded / http-constant

1. Go to this page and download the library: Download soloded/http-constant 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/ */

    

soloded / http-constant example snippets

sh
echo \SoloDed\HttpResponseCode::HTTP_OK;