PHP code example of justinholtweb / craft-headdy

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

bash
php craft headdy/keys/create --name="Next.js storefront"
bash
php craft headdy/maintenance/check   # exits non-zero on a problem, so it can gate a deploy
php craft headdy/maintenance/routes  # the whole route table
sh
cd ~/Sites/plugin-testing
ddev exec php /var/www/craft-headdy/tests/integration/checks.php   # 133 checks