PHPackages                             overseegroup/panacea - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. overseegroup/panacea

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

overseegroup/panacea
====================

Laravel Notification Driver for Panacea Mobile.

1140PHP

Since Sep 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/overseegroup/panacea)[ Packagist](https://packagist.org/packages/overseegroup/panacea)[ RSS](/packages/overseegroup-panacea/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Panacea Mobile
==============

[](#panacea-mobile)

This package makes it easy to send notifications using [PanaceaMobile](https://www.panaceamobile.com/) with Laravel 5.6+

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

[](#installation)

You can install the package via composer:

```
composer require overseegroup/panacea
```

Be sure to include the Service Provider in your config.app file:

```
// config/app.php
'providers' => [
    ...
    NotificationChannels\Panacea\PanaceaServiceProvider::class,
];
```

Configuration
-------------

[](#configuration)

This pacakge assumes you already have an active and working account with Panacea Mobile and have access to your API token.

Once you have these deetals on hand, add to your `config/services.php` file:

```
// config/services.php

'panacea' => [
    'login'  => env('PANACEA_LOGIN'), // Your Username
    'api' => env('PANACEA_API'), // Your API Token
    'url' => env('PANACEA_URL'), // Your API URL - default: bli.panaceamobile.com/json
    'sender' => '0000000000' // Default Sending Number
]
```

Implementation
--------------

[](#implementation)

You can use the channel in your `via()` method inside the notification:

```
use Illuminate\Notifications\Notification;
use NotificationChannels\Panacea\PanaceaMessage;
use NotificationChannels\Panacea\PanaceaChannel;

class SendSMS extends Notification
{
    public function via($notifiable)
    {
        return [PanaceaChannel::class];
    }

    public function toPanacea($notifiable)
    {
        return (new PanaceaMessage())
            ->content("A test message from Laravel.");
    }
}
```

Notifiable Configuration
------------------------

[](#notifiable-configuration)

In order for this package to know which number to send the message to, it will look for the `mobile_number` attribute of the Notifiable model. Add the following code to your Notifiable model:

```
 use Notifiable;

    /**
     * Route notifications for the Nexmo channel.
     *
     * @return string
     */
    public function routeNotificationForPanacea()
    {
        return $this->mobile_number; // or whatever database field you are storing the number field under

        // or you can hard code the number:
        //   return '27000000000';
    }

    ```
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/316bee454ac49937b48f985b2d5764e65b48ac1d47625bf6acfc3c3a15fbbf69?d=identicon)[oversee](/maintainers/oversee)

### Embed Badge

![Health badge](/badges/overseegroup-panacea/health.svg)

```
[![Health](https://phpackages.com/badges/overseegroup-panacea/health.svg)](https://phpackages.com/packages/overseegroup-panacea)
```

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
