PHP code example of kdaviesnz / copyscape

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

    

kdaviesnz / copyscape example snippets

 php

        $settings = array(
            "copyscape_user_name"=>"bob",
            "copyscape_api_key" => "456"
        );
        $c = new \kdaviesnz\copyscape\Copyscape("http://example.com", $settings);
        echo $c;