2017 © Pedro Peláez
 

symfony-bundle processone-bundle

ProcessOne bundle for Symfony2 projects

image

rezzza/processone-bundle

ProcessOne bundle for Symfony2 projects

  • Wednesday, December 16, 2015
  • by steph_py
  • Repository
  • 3 Watchers
  • 4 Stars
  • 13,083 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

ProcessOneBundle

Build Status, (*1)

Installation

"require": {
    'rezzza/processone-bundle': '*',
}

Enable Bundle

In AppKernel:, (*2)

$bundles = array(
    //....
    new Rezzza\ProcessOneBundle\RezzzaProcessOneBundle(),
    //....
);

Configuration

rezzza_process_one:
    connections:
        default:
            transport:  guzzle
            host:       https://subdomain.process-one.net
            publish:
                key:    MY_KEY
                secret: MY_SECRET
                expire: 10

Usage


use Rezzza\ProcessOneBundle\Recipient; use Rezzza\ProcessOneBundle\Message; $conn = $this->get('rezzza.process_one.default.connection'); // recipients $recipients = new Recipient\TagRecipient(array('@registered')); $recipients = new Recipient\AliasRecipient(array('user@domain.tld')); $recipients = new Recipient\DeviceTokenRecipient(array('device-token')); // message $message = new Message\ApsMessage(); $message->setApsData('alert', '..'); $message->setApsData('badge', 1337); $message->setData('custom_element', 'value'); $conn->setRecipient($recipients) ->setMessage($message) ->send();

Customisation

You can easily add new messages, recipients, transport, (*3)

Wishlist

  • Tests
  • Standalone library

The Versions

16/12 2015

dev-master

9999999-dev https://github.com/rezzza/ProcessOneBundle

ProcessOne bundle for Symfony2 projects

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

bundle symfony notification processone

16/12 2015

1.2.0

1.2.0.0 https://github.com/rezzza/ProcessOneBundle

ProcessOne bundle for Symfony2 projects

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

bundle symfony notification processone

25/02 2015

1.1.0

1.1.0.0 https://github.com/rezzza/ProcessOneBundle

ProcessOne bundle for Symfony2 projects

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

bundle symfony notification processone

25/02 2015

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/rezzza/ProcessOneBundle

ProcessOne bundle for Symfony2 projects

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

bundle symfony notification processone

13/12 2014

1.0.3

1.0.3.0 https://github.com/rezzza/ProcessOneBundle

ProcessOne bundle for Symfony2 projects

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

bundle symfony notification processone

10/12 2014

1.0.2

1.0.2.0 https://github.com/rezzza/ProcessOneBundle

ProcessOne bundle for Symfony2 projects

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

bundle symfony notification processone

26/08 2014

1.0.1

1.0.1.0 https://github.com/rezzza/ProcessOneBundle

ProcessOne bundle for Symfony2 projects

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

bundle symfony notification processone

13/05 2013

v1.0.0

1.0.0.0 https://github.com/rezzza/ProcessOneBundle

ProcessOne bundle for Symfony2 projects

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

bundle symfony notification processone