PHP code example of diffywebsite / diffy-php

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

    

diffywebsite / diffy-php example snippets




\Diffy\Diffy::setApiKey('c31fec8e123e479e75d46744c13a7d91');

print_r(\Diffy\Screenshot::create(132, 'production'));
bash
composer