Download the PHP package ollywarren/laravel-go-cardless without Composer
On this page you can find all versions of the php package ollywarren/laravel-go-cardless. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ollywarren/laravel-go-cardless
More information about ollywarren/laravel-go-cardless
Files in ollywarren/laravel-go-cardless
Package laravel-go-cardless
Short Description A Laravel Wrapper for the Go Cardless PHP Client Library
License MIT
Homepage https://github.com/ollywarren/laravel-go-cardless
Informations about the package laravel-go-cardless
Laravel Go Cardless
A Laravel 5.5 Wrapper for the Go Cardless PHP Client Library. This package provides simple elegant access to the Go Cardless PHP Client API from across the Laravel Application.
The included helper method makes accessing the underlying methods as easy as:
Installation Laravel 5.5 +
Simply require the package through composer and let the Laravel Package Auto Discovery do the rest.
Publish the vendor configuration:
(Select the relevant package from the list)
Set two environment variables in your Apps .env file:
Installation Laravel 5.4
Use composer to add it to your project dependencies:
Then inside your
Add the package service provider to the providers array:
Finally for good measure dump the composer autoloader to make sure we've pulled in the helper method:
Publish the vendor configuration:
Set two environment variables in your Apps .env file:
Usage Instructions
This package exposes the underlaying Go Cardless PHP Client Library usign the helper method. Any of the methods described in the API Documentation will be accessible.
For example:
Get a List of Customers
Create a New Customer
For a full breakdown of the API see the Documentation or the PHP Client Library