PHP code example of jovixv / native-ping

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

    

jovixv / native-ping example snippets




use jovixv\Ping\Ping;

$test = new Ping();

$pingEntity = $test->ping('dataforseo.com', 500, 4, 32);

var_dump($pingEntity);