Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 42 lines (25 sloc) 1.363 kb
ba84aa5 Isaac Hall First commit
isaachall authored
1 Recurly PHP Client
2 ==================
3
8d944fc Isaac Hall Update Readme. Modified structure of billing info parameters. Removed so...
isaachall authored
4 The Recurly PHP Client library is an open source library to interact with Recurly's subscription management from your PHP website. The library interacts with Recurly's [REST API](http://support.recurly.com/faqs/api).
ba84aa5 Isaac Hall First commit
isaachall authored
5
6
7 Installation
8 ------------
9
10 If you already have git, the easiest way to download the Recurly PHP Client is with the git command:
11
12 git clone git://github.com/recurly/recurly-client-php.git /path/to/include/recurly
13
8d944fc Isaac Hall Update Readme. Modified structure of billing info parameters. Removed so...
isaachall authored
14 Alternatively, you may download the PHP files in the library directory and place them within your PHP project.
ba84aa5 Isaac Hall First commit
isaachall authored
15
16
17 Initialization
18 --------------
19
8d944fc Isaac Hall Update Readme. Modified structure of billing info parameters. Removed so...
isaachall authored
20 First, the Recurly classes must be loaded. Next, specify your username and password for your
21 Recurly account. Please see the [Authentication](http://support.recurly.com/faqs/api/authentication)
22 documentation for more details.
ba84aa5 Isaac Hall First commit
isaachall authored
23
24 <?php
8d944fc Isaac Hall Update Readme. Modified structure of billing info parameters. Removed so...
isaachall authored
25 require_once('recurly/library/recurly.php');
ba84aa5 Isaac Hall First commit
isaachall authored
26 RecurlyClient::SetAuth(RECURLY_USERNAME, RECURLY_PASSWORD);
27 ?>
28
29
30 Usage
31 -----
32
8d944fc Isaac Hall Update Readme. Modified structure of billing info parameters. Removed so...
isaachall authored
33 Please see the test code in the *unittest/* directory for examples.
34
35 Please see the [documentation](http://support.recurly.com/faqs/api/php-client) and
36 [support forums](http://support.recurly.com/discussions) for more information.
ba84aa5 Isaac Hall First commit
isaachall authored
37
38
39 API Documentation
40 -----------------
41
42 Please see the [Recurly API](http://support.recurly.com/faqs/api/) for more information.
Something went wrong with that request. Please try again.