PHPackages                             johannez/chargify - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. johannez/chargify

ActiveLibrary[API Development](/categories/api)

johannez/chargify
=================

Interact with the Chargify API v1

1.0.2(8y ago)5836[3 issues](https://github.com/johannez/chargify/issues)MITPHPPHP &gt;=5.4.0

Since Oct 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/johannez/chargify)[ Packagist](https://packagist.org/packages/johannez/chargify)[ Docs](https://github.com/johannez/chargify)[ RSS](/packages/johannez-chargify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Chargify API
============

[](#chargify-api)

This library provides you with functionality to interact with the [Chargify](http://chargify.com/) payment platform. It's built according to the [Chargify API](http://docs.chargify.com/api-introduction) version 1.

### Supported Resources

[](#supported-resources)

- Products
- Customers
- Subscriptions
- Coupons
- Components
- Transactions

### Roadmap

[](#roadmap)

- Implement PHPUnit tests for the supported resources.
- Add more resources from the Chargify API.

### Installation

[](#installation)

Easiest way would be using [Composer](http://getcomposer.org) and adding this to the composer.json requirement section.

```
{
  "require": {
    "johannez/chargify": "dev-master"
  }
}
```

It's PSR-0 compliant, so you can also use your own custom autoloader.

### Usage

[](#usage)

In general, every resource has a controller and a resource class. The controller is used to send requests to Chargify and the resource classes map the response data.

Only thing you really need is a controller for the resource you want to work with:

```
