jorisvanw / laravel-recurly
A simple Laravel 5 service provider for including the Recurly PHP client.
Requires
- php: >=5.6.0
- recurly/recurly-client: 2.10.*
This package is auto-updated.
Last update: 2024-11-08 07:18:14 UTC
README
Integrates the Recurly API with Laravel 5.
A simple Laravel 5 service provider for including the Recurly PHP Client.
Installation
Use composer to install the package.
composer require jorisvanw/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 'JorisvanW\LaravelRecurly\ServiceProvider' to your app/config/app.php providers array:
JorisvanW\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="JorisvanW\LaravelRecurly\ServiceProvider"
Add your Recurly information to the your .env file using the keys found in app/config/recurly.php
.