A PHP libray to send push notification with Firebase Cloud Messaging
Version 2.x
of this library is a full rewrite to be compliant with HTTP v1 API. If you are on Legacy HTTP API, then you should consider using version 1.x
You can install Fcm using Composer:
composer require kerox/fcm
You will then need to:
- run
composer install
to get these dependencies added to your vendor directory - add the autoloader to your application with this line:
require('vendor/autoload.php');
The documentation is available here