thiagoprz/laravel-onesignal

One Signal Laravel service

dev-main 2022-04-21 20:14 UTC

This package is auto-updated.

Last update: 2024-05-22 01:07:09 UTC


README

Installation

Install with composer:

composer require thiagoprz/laravel-onesignal

Publish configuration

php artisan vendor:publish --provider=Thiagoprz\Onesignal\OnesignalServiceProvider

Roadmap

Method STATUS Tests
Create Notification In Progress No
Cancel Notification Todo No
View Apps Todo No
View an App Done Yes
Create an App Todo No
Update an App Todo No
View Devices Todo No
View Device Todo No
Add a Device Todo No
Edit Device Todo No
View Notification Todo No
View Notifications Todo No
Notification History Todo No
Create Segments Todo No
Delete Segments Todo No
View Outcomes Todo No
Delete Player Record Todo No

Package Testing

PHPUnit

Replace your app id, user key and app key with the right values:

ONESIGNAL_APP_ID={APP_ID} ONESIGNAL_API_APP_KEY={YOUR_APP_KEY} ONESIGNAL_API_USER_KEY={YOUR_USER_ID} php artisan test

For more information on keys and Ids please see https://documentation.onesignal.com/docs/accounts-and-keys

License

This package is licensed under the MIT license.