dmitrovskiy/ionic-push-php-service-provider

silex provider for ionic push php sdk

v0.0.1 2015-07-08 16:59 UTC

This package is not auto-updated.

Last update: 2024-12-21 19:26:29 UTC


README

This package may be helpful for sending ionic push notifications using Silex framework

Install

Via Composer

$ composer require dmitrovskiy/ionic-push-php-service-provider

Usage

$app->register(
    new \Dmitrovskiy\IonicPushService\IonicPushServiceProvider(),
    array(
        'ionicPush.appId' => 'APP_ID',
        'ionicPush.appSecretId' => 'APP_SECRET_ID'
    )
);

$notifications = array(
    //...
);

$app['ionicPush.processor']->notify($notifications);

License

The MIT License (MIT). Please see License File for more information.