Skip to content

basic lambda stuff to forward webhooks around

Notifications You must be signed in to change notification settings

Pitchero/WebhookForwarder

 
 

Repository files navigation

GoCardless Webhook Forwarder

PHP LAMBDA + BREF project to forward GoCardless webhooks to different environments.

template

Initial Setup

  • Fill out your GoCardless webhook creds within your .env file
  • Fill out your Webhook URLS within your .receivers file
cp .env.sample .env
cp .receivers.sample .receivers

Dependencies

Ensure you have PHP + Composer Installed, then run:

composer install

Install and configure the Serverless Framework

npm i -g serverless

Configure your AWS creds for deployment

serverless config credentials —provider aws —key <key> —secret <secret>

Test this endpoint locally ( requires PHP to be installed )

php -S localhost:8088

Deploy

serverless deploy

About

basic lambda stuff to forward webhooks around

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%