fowitech/laravel-onesignal

dev-main 2023-11-21 20:35 UTC

This package is auto-updated.

Last update: 2024-04-21 21:41:51 UTC


README

GitHub License Latest Version on Packagist GitHub Tests Action Status Total Downloads

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