PHP code example of ollywarren / laravel-go-cardless

1. Go to this page and download the library: Download ollywarren/laravel-go-cardless 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/ */

    

ollywarren / laravel-go-cardless example snippets

 php artisan vendor:publish

GOCARDLESS_ENV="sandbox" OR "live"
GOCARDLESS_TOKEN="<YOUR API TOKEN>"

config/app.php
 composer dump-autoloader 
 php artisan vendor:publish

GOCARDLESS_ENV="sandbox" OR "live"
GOCARDLESS_TOKEN="<YOUR API TOKEN>"