php-fcm
php-fcm copied to clipboard
A PHP library for sending Firebase Cloud Messages and managing user topic subscriptions, device groups and devices.
Fixes #57 and #48. Note that this PR ist rebased on top of #59, so need to merge that one first.
In the Readme at... https://github.com/EdwinHoksberg/php-fcm/blob/master/README.md ...it describes running PHPUnit tests with... `composer install` ...and... `composer test` But this returns... `Command "test" is not defined.`
See the individual commit messages and diffs. Breaking changes: * `ext-json` is now declared as a dependency. It was actually a dependency before, but now it's declared, which might break...
See docs: https://firebase.google.com/docs/cloud-messaging/concept-options#delivery-options And another PHP implementation: https://github.com/Paragraph1/php-fcm/blob/b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0/src/Message.php#L151
Any impact of https://firebase.google.com/docs/cloud-messaging/migrate-v1 , do this project need to update or we can keep using ? 
If anyone wants to migrate/upgrade this API please have at it. It is light and nimble but is going to require a decent amount of rewrites to support the HTTP...