fowitech / laravel-onesignal
1.0.1
2024-10-13 17:24 UTC
Requires
- php: ^8.0|^8.1|^8.2
- illuminate/auth: ^8.12|^9.0|^10.0|^11.0
- illuminate/container: ^8.12|^9.0|^10.0|^11.0
- illuminate/contracts: ^8.12|^9.0|^10.0|^11.0
- illuminate/database: ^8.12|^9.0|^10.0|^11.0
README
This is a straightforward OneSignal wrapper library designed for Laravel.
📦 Install
Via Composer
$ composer require fowitech/laravel-onesignal
⚡ Configure
Publish the config file
$ php artisan vendor:publish --tag="fowitech-onesignal"
🔥 Usage
In your code just use it like this.
onesignal()->message("this message")->to(['Number 1', 'Number 2'])->send();
🔬 Testing
composer test