PHPackages                             kozhindev/expo-server-sdk-php - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. kozhindev/expo-server-sdk-php

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

kozhindev/expo-server-sdk-php
=============================

Server-side library for working with Expo push notifications using PHP

1.4.0(4y ago)03481MITPHPPHP &gt;=7.0

Since Jul 19Pushed 4y agoCompare

[ Source](https://github.com/kozhindev/exponent-server-sdk-php)[ Packagist](https://packagist.org/packages/kozhindev/expo-server-sdk-php)[ RSS](/packages/kozhindev-expo-server-sdk-php/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (8)Used By (1)

exponent-server-sdk-php
=======================

[](#exponent-server-sdk-php)

Server-side library for working with Expo push notifications using PHP

Usage
=====

[](#usage)

- Require the package in your project

```
composer require kozhindev/exponent-server-sdk-php
```

- In a php file

```
    require_once __DIR__.'/vendor/autoload.php';

    $token = 'ExponentPushToken[unique]';

    $expo = new \ExponentPhpSDK\Expo();

    // Build the notification data
    $notification = ['body' => 'Hello World!'];

    // Notify a token (or several tokens) with a notification
    $expo->notify([$token], $notification);
```

Data can be added to notifications by providing it as a JSON object. For example:

```
// Build the notification data
$notification = ['body' => 'Hello World!', 'data'=> json_encode(array('someData' => 'goes here'))];
```

Additional security
===================

[](#additional-security)

If you set up enhanced security in your Expo Dashboard (as described [here](https://docs.expo.io/push-notifications/sending-notifications/#additional-security)), you will need to attach an authorization token to each push request:

```
    // ...

    // Bootup an expo instance
    $expo = \ExponentPhpSDK\Expo::normalSetup();

    // Fetch your access token from where you stored it
    $accessToken = 'your_expo_access_token';

    // The access token will be attached to every push request you make hereafter
    $expo->setAccessToken($accessToken);

    // Notify an interest with a notification
    $expo->notify([$channelName], $notification);
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 66.2% 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 ~249 days

Recently: every ~269 days

Total

7

Last Release

1774d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1cfc326ea000eaf99fed79bb85a9acb8396f1aabd368e8d09b517780916a331?d=identicon)[kozhindev](/maintainers/kozhindev)

![](https://www.gravatar.com/avatar/a94c192d63786563ff7700137d97338ad64045d1d6d12ba4e5ec521402b151b0?d=identicon)[coffeeeeee](/maintainers/coffeeeeee)

---

Top Contributors

[![Alymosul](https://avatars.githubusercontent.com/u/8314647?v=4)](https://github.com/Alymosul "Alymosul (47 commits)")[![patrickkivits](https://avatars.githubusercontent.com/u/727174?v=4)](https://github.com/patrickkivits "patrickkivits (4 commits)")[![brynnb](https://avatars.githubusercontent.com/u/1271817?v=4)](https://github.com/brynnb "brynnb (3 commits)")[![francesco-laricchia](https://avatars.githubusercontent.com/u/45432953?v=4)](https://github.com/francesco-laricchia "francesco-laricchia (3 commits)")[![theUNnicked](https://avatars.githubusercontent.com/u/16197344?v=4)](https://github.com/theUNnicked "theUNnicked (2 commits)")[![alexislefebvre](https://avatars.githubusercontent.com/u/2071331?v=4)](https://github.com/alexislefebvre "alexislefebvre (2 commits)")[![alexisLefebvre](https://avatars.githubusercontent.com/u/2071331?v=4)](https://github.com/alexisLefebvre "alexisLefebvre (2 commits)")[![cvele](https://avatars.githubusercontent.com/u/644800?v=4)](https://github.com/cvele "cvele (2 commits)")[![HappyFacade](https://avatars.githubusercontent.com/u/54226355?v=4)](https://github.com/HappyFacade "HappyFacade (1 commits)")[![kylekatarnls](https://avatars.githubusercontent.com/u/5966783?v=4)](https://github.com/kylekatarnls "kylekatarnls (1 commits)")[![OlaAlsaker](https://avatars.githubusercontent.com/u/7793873?v=4)](https://github.com/OlaAlsaker "OlaAlsaker (1 commits)")[![DannyFeliz](https://avatars.githubusercontent.com/u/5460365?v=4)](https://github.com/DannyFeliz "DannyFeliz (1 commits)")[![SaveYourTime](https://avatars.githubusercontent.com/u/35715664?v=4)](https://github.com/SaveYourTime "SaveYourTime (1 commits)")[![AleksandarSavic95](https://avatars.githubusercontent.com/u/12213798?v=4)](https://github.com/AleksandarSavic95 "AleksandarSavic95 (1 commits)")

---

Tags

pushnotificationsexpoexponent

### Embed Badge

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

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

###  Alternatives

[alymosul/exponent-server-sdk-php

Server-side library for working with Expo push notifications using PHP

1551.6M16](/packages/alymosul-exponent-server-sdk-php)[minishlink/web-push

Web Push library for PHP

1.9k14.3M76](/packages/minishlink-web-push)[ivkos/pushbullet

Push notifications to devices and browsers via Pushbullet

22263.4k2](/packages/ivkos-pushbullet)[bentools/webpush-bundle

Send push notifications through Web Push Protocol to your Symfony users.

72290.6k](/packages/bentools-webpush-bundle)[minishlink/web-push-bundle

Symfony Bundle around the WebPush library

58336.3k2](/packages/minishlink-web-push-bundle)[dmitrovskiy/ionic-push-php

ionic push notifications php sdk

215.5k1](/packages/dmitrovskiy-ionic-push-php)

PHPackages © 2026

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