PHPackages                             subit/php-expo-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. subit/php-expo-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

subit/php-expo-sdk
==================

Expo SDK written in PHP

v2.2.0(2y ago)07.1k↓10.3%1MITPHPCI failing

Since Feb 14Pushed 2y ago2 watchersCompare

[ Source](https://github.com/subit-io/php-expo-sdk)[ Packagist](https://packagist.org/packages/subit/php-expo-sdk)[ Docs](https://github.com/subit-io/php-expo-sdk)[ RSS](/packages/subit-php-expo-sdk/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (3)Versions (9)Used By (1)

Exponent Push Notification Server SDK
=====================================

[](#exponent-push-notification-server-sdk)

Server-side PHP library for working with Expo push notifications

[![Latest Version on Packagist](https://camo.githubusercontent.com/fc7772c5ba9d9759bf3af9ac3509860d4b776887f019b8e76166e0a01d101bc1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73756269742f7068702d6578706f2d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/subit/php-expo-sdk)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/379008c2c01d28459d8797d7f65c1c2f5bb851499f0e797b1a56a73262dba5ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73756269742f7068702d6578706f2d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/subit/php-expo-sdk)

Contents
--------

[](#contents)

- [Installation](#installation)
- [Usage](#usage-simple-example)
- [Expo methods](#expo-methods)
- [ExpoMessage options](#expomessage-options)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require subit-io/expo-server-sdk-php

```

Usage (simple example)
----------------------

[](#usage-simple-example)

Create an new `Expo` SDK client

```
$expo = new Expo();

```

Create the `ExpoMessage` you want to send to the client

```
$message = ExpoMessage::create()
	->to('')
	->title('')
	...;

```

Then use the `Expo->sendPushNotification()` method to send the `ExpoMessage`

```
$expo->sendPushNotification($message)

```

That's it! The notification has now been sent to the Expo servers.

`Expo` methods
--------------

[](#expo-methods)

`sendPushNotification(ExpoMessage)`Sends an `ExpoMessage``sendPushNotifications([ExpoMessage])`Sends multiple `ExpoMessage``getPushNotificationReceipt($ticketId)`Get delivery status for Android/iOS services (not client device)`getPushNotificationReceipts([$ticketId])`Get delivery status for Android/iOS services (not client devices)`isValidTokenFormat($token)`Check if an expo token is of a valid format`isValidReceiptIdFormat($id)`Check if a receipt id is of a valid format`chunkPushNotifications()`Chunk notifications into approved request batch sizes`chunkPushNotificationReceiptIds`Chunk notification receipt ids into approved request batch sizes`ExpoMessage` options
---------------------

[](#expomessage-options)

PropertyiOS/AndroidTypeDescription`to()`bothstringAn Expo push token specifying the recipient of this message`jsonData()`bothstringA JSON object delivered to your app. It may be up to 4KiB`title()`bothstringThe title to display in the notification`body()`bothstringThe message to display in the notification`ttl()`bothintSeconds the message may be kept around for redelivery`expiration()`bothintUNIX epoch timestamp. Same effect as ttl. ttl takes precedence`priority()`bothPriorityThe delivery priority of the message`subtitle()`iOSstringThe subtitle to display in the notification below the title`enableSound()`iOSPlay a sound when the recipient receives this notification`disableSound()`iOSPlay no sound (default)`badge()`iOSintNumber to display in the badge on the app icon`channelId()`AndroidstringChannel through which to display this notificationFor a more detailed description, refer to the Expo documentation

### To be implemented/reworked:

[](#to-be-implementedreworked)

- Look into if requests should be run asynchronously
- Send request gzipped
- Make an ExpoMessage able to receive multiple tokens

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~206 days

Recently: every ~344 days

Total

8

Last Release

884d ago

Major Versions

v1.1.0 → v2.0.02020-09-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/94b0a2b01d629673d5ecb75671a3097d225b695c58a17ac11954aff49ebc6fa1?d=identicon)[ebsp](/maintainers/ebsp)

---

Top Contributors

[![ebsp](https://avatars.githubusercontent.com/u/1406975?v=4)](https://github.com/ebsp "ebsp (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/subit-php-expo-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/subit-php-expo-sdk/health.svg)](https://phpackages.com/packages/subit-php-expo-sdk)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
