Recurly client module for Zend Framework
Recurly client module provides a simple integration into Zend Framework of Recurly client library that interact with Recurly's subscription management through REST API.
Introduction
Recurly client module provides a config file to initialize simply REST API client.
Requirements
Installation
Recurly client module only officially supports installation through Composer. For Composer documentation, please refer to getcomposer.org.
You can install the module from command line:
$ composer require riskio/recurly-client-module
Enable the module by adding Riskio\Recurly\ClientModule
key to your application.config.php
file. Customize the module by copy-pasting
the recurly-client.local.php.dist
file to your config/autoload
folder.
Configuration
Set your subdomain and API key. If you are using Recurly.js, specify also your private key.
<?php
return [
'recurly' => [
'subdomain' => 'your-subdomain',
'api_key' => '012345678901234567890123456789ab',
'private_key' => '0123456789abcdef0123456789abcdef',
],
];
Testing
$ vendor/bin/phpunit
Credits
License
The MIT License (MIT). Please see License File for more information.