Download the PHP package baudev/fcm-xmpp without Composer
On this page you can find all versions of the php package baudev/fcm-xmpp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package fcm-xmpp
Firebase Cloud Messaging (FCM) XMPP - PHP
Service | Master | Develop |
---|---|---|
CI Status | ||
Version | []() | []() |
PHP version | []() | []() |
This PHP program, based on the unmaintained sourc7/FCMStream repository, allows receiving and sending messages with the XMPP Protocol using Firebase Cloud Messaging.
INSTALLATION
EXAMPLES
- Create an
index.php
file and write into it one of the two following script (method2). Don't forget replacing :SENDER_ID
,SERVER KEY
. - Run the script:
php index.php
Note: examples are provided in the directory examples
. More explanations can be found into the wiki page.
1. Using a class (best solution):
2. Using function callback parameters:
USAGE
- Downstream Messages: server-to-device through FCM
- Upstream Messages: device-to-server through FCM
DOCUMENTATION
See the wiki page to discover every possibilities provided by this framework.
TODO
- [X] Add more comments
- [X] Add methods for responding easily, to set message priority and so on. Notification property is not handled yet
- [X] Improve README
- [ ] Add more tests
CREDITS
- Images in the XAMARIN documentation.
- Major part of the code is coming from the sourc7/FCMStream repository. As it is unmaintained, I allow myself to fork it and improve it.
LICENSE
All versions of fcm-xmpp with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
The package baudev/fcm-xmpp contains the following files
Loading the files please wait ....