2017 © Pedro Peláez
 

symfony-bundle stripe-webhook-bundle

A Symfony 2 bundle for handling Stripe Webhooks.

image

catch-of-the-day/stripe-webhook-bundle

A Symfony 2 bundle for handling Stripe Webhooks.

  • Friday, October 7, 2016
  • by ketoprak
  • Repository
  • 27 Watchers
  • 0 Stars
  • 9,770 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 2 Versions
  • 6 % Grown

The README.md

MRPStripeWebhookBundle

A Symfony 2 bundle for handling Stripe Webhooks., (*1)

Features: - Triggers a Symfony event from a Stripe Webhook event., (*2)

Status

WIP, (*3)

Installation

Step 1:

Add MRPStripeWebhookBundle to your composer.json:, (*4)

{
    "require": {
        "mrp/stripe-webhook-bundle": "*"
    }
}

Now tell composer to download the bundle by running the command:, (*5)

``` bash $ php composer.phar update mrp/stripe-webhook-bundle, (*6)


### Step 2: ### Enable this bundle in your kernel: ```php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // … new MRP\StripeWebhookBundle\MRPStripeWebhookBundle() ); }

Step 3:

Import the MRPStripeWebhookBundle routing files:, (*7)

In YAML:, (*8)

# app/config/routing.yml
mrp_stripe_webhook:
    resources: "@MRPStripeWebhookBundle/Resources/config/routing/routing.yml"
    prefix: /

Webhooks

This bundle receives webhooks at "/stripe-webhooks" and dispatches the event which you can listen for., (*9)

For example: the 'charge.succeeded' event is dispatched as 'mrp_stripe_webhook.charge.succeeded', (*10)

The Versions

07/10 2016

dev-master

9999999-dev https://github.com/CatchoftheDay/stripe-webhook-bundle

A Symfony 2 bundle for handling Stripe Webhooks.

  Sources   Download

MIT

The Requires

  • php >=5.3.10

 

The Development Requires

by Mathew R. Peterson

stripe webhooks

16/09 2016

dev-sym31

dev-sym31 https://github.com/CatchoftheDay/stripe-webhook-bundle

A Symfony 2 bundle for handling Stripe Webhooks.

  Sources   Download

MIT

The Requires

  • php >=5.3.10

 

The Development Requires

by Mathew R. Peterson

stripe webhooks