PHPackages                             karunais13/multiple-notification-provider - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. karunais13/multiple-notification-provider

ActiveLibrary

karunais13/multiple-notification-provider
=========================================

Multiple Notification

v3.3.0(4d ago)04802MITPHPPHP ^8.2

Since Aug 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/karunais13/multiple-notification-provider)[ Packagist](https://packagist.org/packages/karunais13/multiple-notification-provider)[ RSS](/packages/karunais13-multiple-notification-provider/feed)WikiDiscussions master Synced today

READMEChangelog (9)Dependencies (17)Versions (44)Used By (0)

Notification
============

[](#notification)

[![Build Status](https://camo.githubusercontent.com/81e4d8fa7bd456ba2927cce0967bcc1a6c0c45c5bd7cd613370fbce766d074bf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6b6172756e61697331332f6d756c7469706c652d6e6f74696669636174696f6e2d70726f76696465722e737667)](https://github.com/karunais13/multiple-notification-provider)[![Latest Stable Version](https://camo.githubusercontent.com/b689f37356dacb40ccd932bb2bd338e78d2a29084ee7f91f2ba52219ed11424b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6172756e61697331332f6d756c7469706c652d6e6f74696669636174696f6e2d70726f76696465722e737667)](https://packagist.org/packages/karunais13/multiple-notification-provider)[![PHP version](https://camo.githubusercontent.com/998c233acadd20c6ee0ce30ecb1455f00fbffd3ed8c3cf3dd81f226fcf066905/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6b6172756e61697331332f6d756c7469706c652d6e6f74696669636174696f6e2d70726f76696465722e737667)](https://packagist.org/packages/karunais13/multiple-notification-provider)[![License](https://camo.githubusercontent.com/e9a3244a342bba37a35aeb95eb6226f2da233204eac317994b27863d1b68602b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6b6172756e61697331332f6d756c7469706c652d6e6f74696669636174696f6e2d70726f76696465722e737667)](https://github.com/karunais13/multiple-notification-provider)

[Laravel](http://laravel.com/) has some pretty sweet functions for sending notification. Due to business nature, certain helper by laravel need to modify. Thus, this package is created to handle the business nature.

This package allows us send push and email notification to all device (iOS, Android, Web) using 3rd party such as [OneSignal](https://github.com/berkayk/laravel-onesignal) and [Firebase](https://firebase.google.com).

Installation
------------

[](#installation)

Install the usual [composer](https://getcomposer.org/) way.

###### Run this command at root directory of your project

[](#run-this-command-at-root-directory-of-your-project)

```
"composer require karunais13/multiple-notification-provider"
```

#### For Laravel 5.5 and below add provider in config file like below :

[](#for-laravel-55-and-below-add-provider-in-config-file-like-below-)

###### app/config/app.php

[](#appconfigappphp)

```
	...

	'providers' => array(
		...
		Karu\NpNotification\NpNotificationProvider::class,
	],

	...

        'aliases' => [
            ...
            NotificationHelper: Karu\NpNotification\Facade\NotificationFacade::class
        ]
```

### Configure

[](#configure)

Copy the packages config and routes files to respective folder.

```
 php artisan vendor:publish --provider=Karu\NpNotification\NpNotificationProvider

```

###### app/config/notification.php

[](#appconfignotificationphp)

```
