1. Go to this page and download the library: Download webuilder240/is-php 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/ */
webuilder240 / is-php example snippets
bash
composer
php
Is\Is::build_in_server();
// true if current run server is php build_in_server(cli-server)
php
Is\Is::request_get();
// true if current request is GET request
php
Is\Is::request_post();
// true if current request is POST request
php
Is\Is::request_put();
// true if current request is PUT request
php
Is\Is::http_status_code('http://google.com',302);
// true if http://google.com is responsed http_status_code 302
php
Is\Is::str_::str_
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.