PHP code example of thedataist / drill-connector
1. Go to this page and download the library: Download thedataist/drill-connector 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/ */
thedataist / drill-connector example snippets
$drill = new DrillConnection( 'localhost', 8047 );
if( $drill->is_active() ) {
print( "Connection Active" );
} else {
print( "Connection Inactive" );
}