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
Requires
- php: >=7.4
- recurly/recurly-client: ^2.12
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
.