PHPackages                             trin4ik/laravel-expo-push - 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. trin4ik/laravel-expo-push

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

trin4ik/laravel-expo-push
=========================

Laravel Expo Push Notification

v0.2.0(3y ago)01.9k[1 issues](https://github.com/trin4ik/laravel-expo-push/issues)MITPHPPHP ^7.4|^8.0

Since Jul 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/trin4ik/laravel-expo-push)[ Packagist](https://packagist.org/packages/trin4ik/laravel-expo-push)[ Docs](https://github.com/trin4ik/laravel-expo-push)[ RSS](/packages/trin4ik-laravel-expo-push/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (1)Versions (10)Used By (0)

Laravel Expo Push Notification Channel
======================================

[](#laravel-expo-push-notification-channel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7d4d4d7524bd19ffd4d51d05d3b4aebe01b57846f5ff7b3aae50d70fba3ab353/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7472696e34696b2f6c61726176656c2d6578706f2d707573682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/trin4ik/laravel-expo-push)[![Total Downloads](https://camo.githubusercontent.com/b91df828b9b9a2ed1f3f2be3850b61c69ce36caf59fb1d0f842addf589c4b77c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7472696e34696b2f6c61726176656c2d6578706f2d707573682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/trin4ik/laravel-expo-push)

Simple and stupid package for send push notification with [expo-notification](https://docs.expo.io/versions/latest/sdk/notifications/) [service](https://docs.expo.io/push-notifications/sending-notifications/).
No tests, no mans, no routes/controllers for get tokens from clients etc. Only channel.
If u need more, use [Alymosul/laravel-exponent-push-notifications](https://github.com/Alymosul/laravel-exponent-push-notifications)

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

[](#installation)

```
composer require trin4ik/laravel-expo-push
php artisan vendor:publish --provider "Trin4ik\LaravelExpoPush\ExpoPushServiceProvider"
```

U can log query to expo notification service into database with payloads and responses.

```
echo "EXPO_PUSH_LOG=true" >> .env
php artisan migrate
```

### Users expo tokens

[](#users-expo-tokens)

U need add method `routeNotificationForExpoPush` any model, like `User`, who return expo token

```
