komicho/firebase

There is no license information available for the latest version (V1.0.0) of this package.

Send notifications through firebase using php

V1.0.0 2017-08-21 09:49 UTC

This package is not auto-updated.

Last update: 2024-04-14 01:10:12 UTC


README

You can send notifications with ease

Install via composer

Add orm to composer.json configuration file.

$ composer require komicho/firebase

And update the composer

$ composer update

code

require 'vendor/autoload.php';

use komicho\firebase;

$firebase = new firebase('api_access_key');

echo $firebase
    ->to('Token')
    ->notification([
        'title' => 'kom',
        'body' => 'komicho :)'
    ])
    ->data([ ... ])
    ->send();

"# firebase"