PHP code example of jorisnoo / statamic-bunny-purge

1. Go to this page and download the library: Download jorisnoo/statamic-bunny-purge 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/ */

    

jorisnoo / statamic-bunny-purge example snippets


return [
    'api_url' => env('CDN_PURGE_API_URL', 'https://api.bunny.net/purge'),
    'api_key' => env('CDN_PURGE_API_KEY'),
    'auth_type' => env('CDN_PURGE_AUTH_TYPE', 'access_key'),
];
bash
php artisan vendor:publish --tag="bunny-purge"