2017 © Pedro Peláez
 

library laravel-pushwoosh

Laravel package for integrating Pushwoosh

image

contextmapp/laravel-pushwoosh

Laravel package for integrating Pushwoosh

  • Thursday, September 21, 2017
  • by rjelierse
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 22 % Grown

The README.md

Laravel Pushwoosh

A simple wrapper around Gomoob's php-pushwoosh package for integration with the Laravel framework., (*1)

Build Status Coverage Status Version License, (*2)

Installation

Use Composer to pull this package in as a dependency., (*3)

composer require contextmapp/laravel-pushwoosh

If you are using Laravel 5.4 or lower, or if you have disabled package discovery, add the provider to the providers array in config/app.php:, (*4)

Contextmapp\Pushwoosh\PushwooshServiceProvider::class

If you want to use the Pushwoosh facade, you should also add the correct alias to the aliases array:, (*5)

'Pushwoosh' => Contextmapp\Pushwoosh\Facades\Pushwoosh::class

Configuration

You should publish the configuration file that is supplied with this package to set up your Pushwoosh details., (*6)

php artisan vendor:publish --provider=Contextmapp\Pushwoosh\PushwooshServiceProvider

This command copies the configuration file to config/pushwoosh.php., (*7)

Make sure you set up the api_token and application_id of the default application., (*8)

Usage

You can use the wrapper to interact with the Pushwoosh SDK directly, or, you could add support for Pushwoosh to your Laravel notifications., (*9)

Laravel Notifications

If you are using Laravel's notification system, you can add 'pushwoosh' to the via() response of a notification. The channel name is also available as a class constant on the Contextmapp\Pushwoosh\PushwooshChannel class. The notification class is expected to implement the Contextmapp\Pushwoosh\Contracts\PushwooshNotification contract. Your notifiable classes should implement the Contextmapp\Pushwoosh\Contracts\PushwooshNotifiable contract., (*10)

The Versions

21/09 2017

dev-master

9999999-dev

Laravel package for integrating Pushwoosh

  Sources   Download

MIT

The Requires

 

by Raymond Jelierse

laravel pushwoosh

21/09 2017

v0.1.0

0.1.0.0

Laravel package for integrating Pushwoosh

  Sources   Download

MIT

The Requires

 

by Raymond Jelierse

laravel pushwoosh