2017 © Pedro Peláez
 

library fast-gcm-topic

Send messages to GCM(Google Cloud Messaging) topics.Easily send push notification to devices

image

frknikiz/fast-gcm-topic

Send messages to GCM(Google Cloud Messaging) topics.Easily send push notification to devices

  • Wednesday, August 5, 2015
  • by frknikiz
  • Repository
  • 1 Watchers
  • 6 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Fast Gcm Topic

Join the chat at https://gitter.im/frknikiz/fast-gcm-topic Total Downloads License, (*1)

Easily send push notifications to devices by using GCM(Google Cloud Messaging) Topics., (*2)

This packages is only available for Laravel 4.*, (*3)

Library Features

  • Send Topic Messages to devices.

Installation

Begin by installing this package through Composer. Edit your project's composer.json, (*4)

"require": {
        "frknikiz/fast-gcm-topic":"1.0.*"
}

Next, update Composer from the Terminal:, (*5)

composer update

Open app/config/app.php, and add a new item to the providers array., (*6)

'Frknikiz\Fastgcmtopic\FastgcmtopicServiceProvider'

Publish config from the Terminal:, (*7)

php artisan config:publish frknikiz/fast-gcm-topic

Finally, You must enter key value that you got from Google Cloud Messaging API in app/config/packages/frknikiz/fast-gcm-topic/conf.php, (*8)

Usage

$topic_link='/topics/foo-bar';

$data=array(
  'title'=>"Hello",
  'message'=>"World !!"
);

$response=FastGcmTopic::sendTopic($topic_link,$data);

dd($response);

Output:, (*9)

object(stdClass)[138]
    public 'message_id' => float 8.2346410779436E+18

For more information about the topic Messaging: Topic Messaging, (*10)

References

Php Curl Class, (*11)

License

Copyright 2015 Furkan İKİZ.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

The Versions

05/08 2015

dev-master

9999999-dev

Send messages to GCM(Google Cloud Messaging) topics.Easily send push notification to devices

  Sources   Download

Apache-2.0

The Requires

 

by Furkan İkiz

laravel cloud google messaging gcm package fast topic laravel 4.2

05/08 2015

1.0.1

1.0.1.0

Send messages to GCM(Google Cloud Messaging) topics.Easily send push notification to devices

  Sources   Download

Apache-2.0

The Requires

 

by Furkan İkiz

laravel cloud google messaging gcm package fast topic laravel 4.2