2017 © Pedro Peláez
 

library sns-autoconfirm-bundle

Automatic subscription confirmation of AWS SNS HTTP(s) endpoints with Symfony (alpha)

image

moee/sns-autoconfirm-bundle

Automatic subscription confirmation of AWS SNS HTTP(s) endpoints with Symfony (alpha)

  • Thursday, January 19, 2017
  • by moee
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3,489 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 6 % Grown

The README.md

sns-autoconfirm-bundle

Automatic Confirmation of AWS SNS HTTP(s) subscription messages with Symfony, (*1)

Warning: Don't use this in production (yet).

This is a proof of concept in an alpha stage. It is lacking signature verification and so it is not secure. Please feel free to experiement with it and expand it, but don't use this in production., (*2)

Usage

1. Add the package:

composer require moee/sns-autoconfirm-bundle, (*3)

2. Add the Bundle to your application

new Moee\SnsAutoconfirmBundle\MoeeSnsAutoconfirmBundle(), (*4)

3. Annotate Endpoints

  use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
  use Moee\SnsAutoconfirmBundle\Annotation\SnsEndpoint;

  class ExampleController
  {
      /**
       * @Route("/", name="index")
       * @SnsEndpoint
       */
      public function indexAction()
      {
          /* ... */
      }
 } 

If you now add this route as SNS HTTP(s) endpoint on an endpoint that is accessible for AWS, then it will automatically confirm the subscription., (*5)

The Versions

19/01 2017

dev-master

9999999-dev

Automatic subscription confirmation of AWS SNS HTTP(s) endpoints with Symfony (alpha)

  Sources   Download

MIT

The Requires

 

by Michael Osl

19/01 2017

0.0.2-alpha

0.0.2.0-alpha

Automatic subscription confirmation of AWS SNS HTTP(s) endpoints with Symfony (alpha)

  Sources   Download

MIT

The Requires

 

by Michael Osl

12/01 2017

0.0.1-alpha

0.0.1.0-alpha

Automatic Confirmation of AWS SNS HTTP(s) subscription messages with Symfony

  Sources   Download

MIT

The Requires

 

by Michael Osl