Download the PHP package alymosul/exponent-server-sdk-php without Composer
On this page you can find all versions of the php package alymosul/exponent-server-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alymosul/exponent-server-sdk-php
More information about alymosul/exponent-server-sdk-php
Files in alymosul/exponent-server-sdk-php
Package exponent-server-sdk-php
Short Description Server-side library for working with Expo push notifications using PHP
License MIT
Rated 4.00 based on 1 reviews
Informations about the package exponent-server-sdk-php
exponent-server-sdk-php
Server-side library for working with Expo push notifications using PHP
Usage
-
Require the package in your project
- In a php file
Data can be added to notifications by providing it as a JSON object. For example:
Channel name
You can use channels to send a notification to only one user, or to a group of users:
One recipient
In order to target one recipient (and avoid sending a notification to the wrong recipient), use a channel name specific to each user:
Several recipients
Declare a channel name that will be shared between the recipients:
Additional security
If you set up enhanced security in your Expo Dashboard (as described here), you will need to attach an authorization token to each push request:
TODO
- Need to create tests
Laravel driver
- There's an expo notifications driver built for laravel apps that's ready to use, you can find it here.. https://github.com/Alymosul/laravel-exponent-push-notifications
All versions of exponent-server-sdk-php with dependencies
ext-curl Version *
ext-json Version *