php-firebase-cloud-messaging
php-firebase-cloud-messaging copied to clipboard
PHP API for Firebase Cloud Messaging from Google
[InvalidArgumentException] Could not find package sngrl/php-firebase-cloud-messaging at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability
Is there a particular reason the stability of this repo is dev, rather than stable?
I have tried the following code. $message = new Message(); $message->setPriority('high'); $message->addRecipient(new Device('DEVICE_TOKEN')); $message ->setNotification(new Notification('Notification Title', 'Notification Body',"Image_URL")); //->setData(['key' => 'value']); $response = $client->send($message);
To control the push in IOS you need the firebase added support for a new parameter. mutable-content = true How do I send this parameter? is it possible to update...
 and i got this error  help me :(
Hi, Thanks for the amazing plugin, it's really helped in us implementing FCM through PHP. I'm trying to look at a way to set 'time_to_live' through the options but can't...
Hi, I've got this error when I try to send a push notification : > JSON_PARSING_ERROR: Unexpected token END OF FILE at position 0. I don't see how to fix...
Hello, I using the lib, but when suscribe a client to a topic, this dont reply any. `$response=$client->addTopicSubscription('GROUP' . $user->getGrupo()->getId(), [$user->getToken()]);` `$user->getGrupo()->getId()=2` ` [$user->getToken()] = [dGi1kW52if8:APA91bFQ3LfgDr6ogK_2412Vfwytyn_q....]` I get this reply...