PHP code example of justinholtweb / craft-eye

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

    

justinholtweb / craft-eye example snippets

sh
php craft eye/embeds/check --failOnProblem
sh
php craft eye/embeds/list                          # the library, with framing status
php craft eye/embeds/check [--force] [--failOnProblem]
php craft eye/embeds/inspect <url>                 # what Eye makes of a URL
php craft eye/embeds/create <url>
php craft eye/embeds/clear-caches
sh
ddev exec php /var/www/craft-eye/tests/integration/checks.php
ddev exec php /var/www/craft-eye/tests/integration/trust.php