PHP code example of khs1994 / curl

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

    

khs1994 / curl example snippets




url\Curl;

$curl = new Curl(null, true);

$url = 'https://www.khs1994.com';

$output = $curl->get($url);

var_dump($output);