PHP code example of artformdev / craft-edge

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

    

artformdev / craft-edge example snippets

bash
cp vendor/artformdev/craft-edge/config/edge.php config/edge.php
./craft edge/nginx/verify --url=https://your-site.test/   # (or edge/cloudflare/verify)