Skip to content
High level api for stripe-php
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.bumpversion.cfg
.gitignore
.travis.yml
LICENSE
README.md
composer.json
composer.lock

README.md

Stripe-api Build Status

High level api for stripe-php

Installation

Install with composer:

composer require "mapado/stripe:~0.7"

Usage

Initialize the API:

$privateKey = 'pk_.....';
$stripeApi = new \Mapado\Stripe\StripeApi($privateKey);

call the wanted method:

$invoice = $stripeApi->getInvoice('invoice_id');

Those methods returns Proxy classes. You can chain method like this:

$subscription = $invoice->getSubscription();

Status

The current package is in early development. A very small number of methods is implemented.

Feel free to fork it and create pull requests to add your logic.

SensioLabsInsight

You can’t perform that action at this time.