gotoemma/one-signal-api

Symfony OneSignal Api Bundle

v0.1.0 2018-12-13 12:49 UTC

This package is not auto-updated.

Last update: 2024-04-28 03:20:05 UTC


README

Symfony Integration for OneSignal PHP API.

Dependencies

  • Symfony 3.0
  • Guzzle 6
  • Norkunas OneSignal PHP API

Install

$ composer require gotoemma/one-signal-api

Your projects config.yml

one_signal_api:
    app_id:         %one_signal_api_app_id%
    app_auth_key:   %one_signal_api_app_auth_key%
    user_auth_key:  %one_signal_api_user_auth_key%

How to use the service

$service = $this->get('one_signal_api');