laravel-onesignal maintained by fowitech
Author
Last update
2025/06/04 10:11
(dev-main)
License
Downloads
33
Tags
Laravel OneSignal Push Notifications
This is a straightforward OneSignal wrapper library designed for Laravel.
:package: Install
Via Composer
$ composer require fowitech/laravel-onesignal
:zap: Configure
Publish the config file
$ php artisan vendor:publish --tag="fowitech-onesignal"
:fire: Usage
In your code just use it like this.
onesignal()->message("this message")->to(['Number 1', 'Number 2'])->send();
:microscope: Testing
composer test