cardei/laravel-one-signal

Laravel Wrapper for OneSignal Push

dev-main 2024-03-13 12:38 UTC

This package is auto-updated.

Last update: 2024-04-13 12:53:58 UTC


README

Laravel OneSignal is a simple package to send push notifications to your users. This package is based on the official OneSignal API. The package is designed to work with Laravel 11.X and above.

Original Package

This package is a fork of the original Laravel OneSignal package by Shailesh Ladumor

Installation

You can install the package via composer:

composer require cardei/laravel-one-signal

Configuration

You can publish the configuration file using this command:

php artisan vendor:publish --provider="Cardei\OneSignal\OneSignalServiceProvider" --tag="config"

A configuration file will be published to config/one-signal.php

Usage

First, you need to set the OneSignal app id and rest api key in the config/one-signal.php file.

... ...