2017 © Pedro Peláez
 

library onesignal-api-bundle

OneSignal API Bundle for Symfony.

image

dizda/onesignal-api-bundle

OneSignal API Bundle for Symfony.

  • Friday, February 9, 2018
  • by dizda
  • Repository
  • 2 Watchers
  • 8 Stars
  • 8,694 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 3 Open issues
  • 7 Versions
  • 3 % Grown

The README.md

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

OnesignalApiBundle

Integrate OneSignal API in Symfony with ease., (*2)

Use the PHP library made by Norkunas., (*3)

Setup

Install with Composer, (*4)

composer require dizda/onesignal-api-bundle

Add bundle to app/AppKernel.php, (*5)

public function registerBundles()
{
    $bundles = array(
        ....
        new Dizda\OnesignalApiBundle\DizdaOnesignalApiBundle()
    );
}

Configuration

Add this to your config.yml:, (*6)

dizda_onesignal_api:
    app_id:       %onesignal_app_id%
    app_auth_key: %onesignal_app_auth_key%

Use

Send a simple notification:, (*7)

$client = $this->get('dizda_onesignal_api.service.client');

$client->notifications->add([
    'headings' => [
        'en' => 'Withdraw'
    ],
    'contents' => [
        'en' => 'Your withdraw has been sent!'
    ],
    'included_segments' => ['All'],
    'url' => 'http://google.fr'
]);

License

MIT Licensed, see LICENSE., (*8)

The Versions

09/02 2018

dev-master

9999999-dev https://github.com/dizda

OneSignal API Bundle for Symfony.

  Sources   Download

MIT

The Requires

 

api symfony onesignal norkunas

05/07 2015

0.1.5

0.1.5.0 https://github.com/dizda

OneSignal API Bundle for Symfony.

  Sources   Download

MIT

The Requires

 

api symfony onesignal norkunas

05/07 2015

0.1.4

0.1.4.0 https://github.com/dizda

OneSignal API Bundle for Symfony.

  Sources   Download

MIT

The Requires

 

api symfony onesignal norkunas

05/07 2015

0.1.3

0.1.3.0 https://github.com/dizda

OneSignal API Bundle for Symfony.

  Sources   Download

MIT

The Requires

 

api symfony onesignal norkunas

05/07 2015

0.1.2

0.1.2.0 https://github.com/dizda

OneSignal API Bundle for Symfony.

  Sources   Download

MIT

The Requires

 

api symfony onesignal norkunas

05/07 2015

0.1.1

0.1.1.0 https://github.com/dizda

OneSignal API Bundle for Symfony.

  Sources   Download

MIT

The Requires

 

api symfony onesignal norkunas

05/07 2015

0.1.0

0.1.0.0 https://github.com/dizda

OneSignal API Bundle for Symfony.

  Sources   Download

MIT

The Requires

 

api symfony onesignal norkunas