zfr/zfr-stripe-module

Zend Framework 2 module for using ZfrStripe

Installs: 1 122

Dependents: 1

Stars: 3

Watchers: 3

Language: PHP

v3.0.0 2014-09-07 12:59 UTC

README

ZfrStripeModule is a Zend Framework 2 module that integrates with ZfrStripe.

Installation

To install ZfrStripeModule, use composer:

php composer.phar require zfr/zfr-stripe-module:~3.0

Enable ZfrStripeModule in your application.config.php, then copy the file vendor/zfr/zfr-stripe-module/config/zfr_stripe.local.php.dist to the config/autoload directory of your application (don't forget to remove the .dist extension from the file name!).

Usage

This module registers the ZfrStripe client in your application's service manager. You can get it by requesting the service ZfrStripe\Client\StripeClient:

$stripeClient = $serviceManager->get('ZfrStripe\Client\ZfrStripeClient');

For more information on the usage of ZfrStripe, please refer to its documentation.