PHP code example of krzysztofzylka / request

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

    

krzysztofzylka / request example snippets


\Krzysztofzylka\Request\Request::isPost()

\Krzysztofzylka\Request\Request::isGet()

\Krzysztofzylka\Request\Request::isAjaxRequest()

\Krzysztofzylka\Request\Request::getInputContents()

\Krzysztofzylka\Request\Request::getPostData('name')

\Krzysztofzylka\Request\Request::getGetData('name')

\Krzysztofzylka\Request\Request::getFileData('name')