PHP code example of gephart / request

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

    

gephart / request example snippets


$_GET["test"] = 1;
$_POST["test"] = 2;

$request = new \Gephart\Request\Request();

echo $request->get("test")); // 1
echo $request->post("test"); // 2