2017 © Pedro Peláez
 

library fibnotifications

This package provide an easy way to send notifications to firebase from Laravel applications

image

oukhay/fibnotifications

This package provide an easy way to send notifications to firebase from Laravel applications

  • Friday, February 16, 2018
  • by Oukhay
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

FiBNotifications

License, (*1)

Introduction

FiBNotifications is an easy to use Laravel package to sending push notification with Firebase Cloud Messaging (FCM)., (*2)

It provides an API to :, (*3)

  • Register new device
  • Send notification to single device

Installation

To get the latest version of FiBNotifications on your project, require it from "composer":, (*4)

$ composer require oukhay/fibnotifications

Or you can add it directly in your composer.json file:, (*5)

{
    "require": {
             "oukhay/fibnotifications": "dev-master"
    }
}

Laravel

Register the provider directly in your app configuration file config/app.php config/app.php:, (*6)

'providers' => [
    // ...

       Oukhay\FiBNotifications\FiBNotificationsServiceProvider::class,
]

Add the facade aliases in the same file:, (*7)

'aliases' => [
    ...
    'FiBNotifications' => Oukhay\FiBNotifications\Facade\FiBNotification::class
]

Note: The FiBNotifications facade is needed only if you want to send notification from your controller in your application., (*8)

Publish the package config file using the following command:, (*9)

$ php artisan vendor:publish

This command will generate a config file main.php under /config/fib-notifications and a migration file 0000_00_00_000000_create_fibnotifications_fibn_devices_table., (*10)

To create the necessary table fib_devices run the following command :, (*11)

$ php artisan migrate

Basic Usage

..., (*12)

API Documentation

You can find more documentation about the API ..., (*13)

Licence

This library is open-sourced software licensed under the MIT license., (*14)

Some of this documentation is coming from the official documentation. You can find it completely on the Firebase Cloud Messaging Website., (*15)

The Versions

16/02 2018

dev-master

9999999-dev

This package provide an easy way to send notifications to firebase from Laravel applications

  Sources   Download

MIT

The Requires

 

by Avatar Oukhay

laravel firebase notifications

15/02 2018

dev-development

dev-development

This package provide an easy way to send notifications to firebase from Laravel applications

  Sources   Download

MIT

The Requires

 

by Avatar Oukhay

laravel firebase notifications