davo81/laravel-recurly

A simple Laravel 5-8 service provider for including the Recurly PHP client.

2.0.2 2022-02-05 12:28 UTC

This package is auto-updated.

Last update: 2024-04-05 16:50:53 UTC


README

Integrates the Recurly API with Laravel 5-8.

A simple Laravel 5-8 service provider for including the Recurly PHP Client.

Installation

Use composer to install the package.

composer require davo81/laravel-recurly

For laravel >=5.5 that's all. This package supports Laravel new Package Discovery.

If you are using Laravel < 5.5, you also need to add 'Davo81\LaravelRecurly\ServiceProvider' to your app/config/app.php providers array:

Davo81\LaravelRecurly\ServiceProvider::class,

Configuration

The defaults are set in app/config/recurly.php. Copy this file to your own config directory to modify the values. You can publish the config using this command:

$ php artisan vendor:publish --provider="Davo81\LaravelRecurly\ServiceProvider"

Add your Recurly information to the your .env file using the keys found in app/config/recurly.php.

Usage

http://docs.recurly.com/client-libraries/php