Package Data | |
---|---|
Maintainer Username: | spekkionu |
Maintainer Contact: | jonathan@digitalcanvas.com (Jonathan Bernardi) |
Package Create Date: | 2013-08-19 |
Package Last Update: | 2014-07-07 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-26 15:22:43 |
Package Statistics | |
---|---|
Total Downloads: | 676 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 5 |
Total Watchers: | 5 |
Total Forks: | 2 |
Total Open Issues: | 0 |
Integrates the Recurly API with Laravel 4
A simple Laravel 4 service provider for including the Recurly PHP Client.
The Recurly Service Provider can be installed via Composer by requiring the
digital-canvas/recurly-client-laravel
package in your project's composer.json
.
{
"require": {
"digital-canvas/recurly-client-laravel": "1.*"
}
}
Run composer update to pull in the libraries.
composer update
To use the Recurly Service Provider, you must register the provider when bootstrapping your Laravel application.
Add 'DigitalCanvas\Recurly\RecurlyServiceProvider' to the list of service providers in app/config/app.php
'DigitalCanvas\Recurly\RecurlyServiceProvider',
Create a config file for the package
php artisan config:publish digital-canvas/recurly-client-laravel
Edit the config and set the subdomain and apiKey values to match the Recurly credentials. If you plan to use recurly.js you must also set the privateKey value.
You may use the the api classes following the documentation at http://docs.recurly.com/client-libraries/php