PHP code example of librevlad / basilisk

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

    

librevlad / basilisk example snippets



$finder = new Finder( $urls, $threads );
$results = $finder->find( function ( $request ) { 

  echo "Found git on ".$request->url();

});

var_dump( $results['success'] );




$dumper = new Dumper( $url, $dest, $threads );
$dumper->dump();



$extractor = new Extractor( $src, $dest = null );
$extractor->extract();