PHPackages                             laravel-notification-channels/pushover - 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. laravel-notification-channels/pushover

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

laravel-notification-channels/pushover
======================================

Pushover notifications for Laravel.

5.0.1(1mo ago)61175.1k—4.3%322MITPHPPHP ^8.2CI passing

Since Aug 12Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/laravel-notification-channels/pushover)[ Packagist](https://packagist.org/packages/laravel-notification-channels/pushover)[ Docs](https://github.com/laravel-notification-channels/pushover)[ RSS](/packages/laravel-notification-channels-pushover/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (18)Versions (25)Used By (2)

Pushover Notifications Channel for Laravel
==========================================

[](#pushover-notifications-channel-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5596eb4acc4bfaea02886861dc26baef99f2f145e15747e2fedc4c954e68d6df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f707573686f7665722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/pushover)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/ecfb59d09942cf5cfdc9bc1197cacf2dcf484e1723c2027f535c656182821a71/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f707573686f7665722f746573742e796d6c3f7374796c653d666c61742d737175617265)](https://github.com/laravel-notification-channels/pushover/actions)[![StyleCI](https://camo.githubusercontent.com/73b824ef8265620995a32c603dcbf26c10c4ade3f3a6040d7eed4f27e6e841b6/68747470733a2f2f7374796c6563692e696f2f7265706f732f36353534333439372f736869656c64)](https://styleci.io/repos/65543497)[![Quality Score](https://camo.githubusercontent.com/86d5fda7922147db79e8d1536b1feafb5b5dedfce9d81372080a36a2c4c2a208/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f707573686f7665722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/pushover)[![Code Coverage](https://camo.githubusercontent.com/d94a07baa38476e795bf56fc68e5b0a44421740fcf31e0485da5964e3a366abc/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f707573686f7665722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/pushover/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/845c521570133ab825438384ad496159a9a0732fe9a320e400c77adfa13b8241/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f707573686f7665722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/pushover)

This package makes it easy to send Pushover notifications with Laravel Notifications.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up your Pushover account](#setting-up-your-pushover-account)
- [Usage](#usage)
    - [Advanced usage and configuration](#advanced-usage-and-configuration)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require laravel-notification-channels/pushover
```

### Support Policy

[](#support-policy)

This package supports various versions of Laravel and PHP with different releases. Choose the correct package version for your project. Please note that older versions of this package are no longer being updated.

Package VersionLaravel VersionPHP VersionStatus3.x8 - 108.0 - 8.3EOL4.x8 - 128.1 - 8.4Security patches only5.x11 - 138.2 - 8.5Active### Setting up your Pushover account

[](#setting-up-your-pushover-account)

To start sending messages via Pushover, you have to [register an application](https://pushover.net/apps/build). Add the generated Pushover application token to the services config file:

```
// config/services.php
'pushover' => [
    'token' => env('YOUR_APPLICATION_TOKEN'),
],
```

Usage
-----

[](#usage)

Now you can use the channel in your `via()` method inside the notification as well as send a push notification:

```
use NotificationChannels\Pushover\PushoverChannel;
use NotificationChannels\Pushover\PushoverMessage;
use Illuminate\Notifications\Notification;

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

    public function toPushover($notifiable)
    {
        return PushoverMessage::create('The invoice has been paid.')
            ->title('Invoice paid')
            ->sound('incoming')
            ->lowPriority()
            ->url('http://example.com/invoices', 'Go to your invoices');
    }
}
```

To send Pushover notifications to the notifiable entity, add the `routeNotificationForPushover` method to that model. Usually, this is the User model. The `pushover_key` could be a database field and editable by the user itself.

```
public function routeNotificationForPushover()
{
    return $this->pushover_key;
}
```

### Advanced usage and configuration

[](#advanced-usage-and-configuration)

If you want to specify specific devices, you can return a `PushoverReceiver` object.

```
public function routeNotificationForPushover() {
    return PushoverReceiver::withUserKey('pushover-key')
        ->toDevice('iphone')
        ->toDevice('desktop')
        // or, if you prefer:
        ->toDevice(['iphone', 'desktop']);
}
```

If you want to (dynamically) overrule the application token from the services config, e.g. because each user holds their own application token, return a `PushoverReceiver` object like this:

```
public function routeNotificationForPushover() {
    return PushoverReceiver::withUserKey('pushover-key')
        ->withApplicationToken('app-token');
}
```

You can also send a message to a Pushover group:

```
public function routeNotificationForPushover() {
    return PushoverReceiver::withGroupKey('pushover-group-key');
}
```

### Available Message methods

[](#available-message-methods)

MethodDescription`content($message)`Accepts a string value for the message text.`html()`Sets the message type to [HTML](https://pushover.net/api#html).`monospace()`Sets the message type to monospace.`plain()`Sets the message type to plain text, this is the default.`title($title)`Accepts a string value for the message title.`time($timestamp)`Accepts either a `Carbon` object or a UNIX timestamp.`url($url[, $title])`Accepts a string value for a [supplementary url](https://pushover.net/api#urls) and an optional string value for the title of the url.`sound($sound)`Accepts a string value for the [notification sound](https://pushover.net/api#sounds).`image($image)`Accepts a string value for the image location (either full or relative server path or a URL). If there is any error with the file (too big, not an image) it will silently send the message without the image attachment.`priority($priority[, $retryTimeout, $expireAfter])`Accepts an integer value for the priority and, when the priority is set to emergency, also an integer value for the retry timeout and expiry time (in seconds). Priority values are available as constants`lowestPriority()`Sets the priority to the lowest priority.`lowPriority()`Sets the priority to low.`normalPriority()`Sets the priority to normal.`highPriority()`Sets the priority to high.`emergencyPriority($retryTimeout, $expireAfter)`Sets the priority to emergency and accepts integer values for the retry timeout and expiry time (in seconds).`callback($callbackUrl)`Sets a publicly-accessible URL that Pushover will send a request to when the user has acknowledged your notification for an emergency notification.Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker, or submit a vulnerability report using [GitHub Security Advisories for this package](https://github.com/laravel-notification-channels/pushover/security).

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Casper Boone](https://github.com/casperboone)
- [Kevin Woblick](https://github.com/kovah)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

69

—

FairBetter than 100% of packages

Maintenance93

Actively maintained with recent releases

Popularity50

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~170 days

Recently: every ~115 days

Total

22

Last Release

33d ago

Major Versions

0.0.2 → 1.0.02016-08-25

1.2.3 → 2.0.02019-06-12

2.1.2 → 3.0.02020-09-13

3.1.0 → 4.0.02024-03-20

4.1.2 → 5.0.02026-03-18

PHP version history (6 changes)0.0.1PHP &gt;=5.6.4

2.0.0PHP &gt;=7.2

3.0.0PHP &gt;=7.3

3.1.0PHP ^8.0

4.0.0PHP ^8.1

5.0.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20937037?v=4)[Laravel Notification Channels](/maintainers/laravel-notification-channels)[@laravel-notification-channels](https://github.com/laravel-notification-channels)

![](https://avatars.githubusercontent.com/u/15815208?v=4)[Casper Boone](/maintainers/casperboone)[@casperboone](https://github.com/casperboone)

---

Top Contributors

[![Kovah](https://avatars.githubusercontent.com/u/1816101?v=4)](https://github.com/Kovah "Kovah (55 commits)")[![casperboone](https://avatars.githubusercontent.com/u/15815208?v=4)](https://github.com/casperboone "casperboone (49 commits)")[![boryn](https://avatars.githubusercontent.com/u/807297?v=4)](https://github.com/boryn "boryn (8 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (8 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (5 commits)")[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (2 commits)")[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (2 commits)")[![oyed](https://avatars.githubusercontent.com/u/172114265?v=4)](https://github.com/oyed "oyed (2 commits)")[![stijnbernards](https://avatars.githubusercontent.com/u/6909174?v=4)](https://github.com/stijnbernards "stijnbernards (2 commits)")[![CmdrSharp](https://avatars.githubusercontent.com/u/5938745?v=4)](https://github.com/CmdrSharp "CmdrSharp (1 commits)")[![Cannonb4ll](https://avatars.githubusercontent.com/u/3110750?v=4)](https://github.com/Cannonb4ll "Cannonb4ll (1 commits)")[![styxit](https://avatars.githubusercontent.com/u/1370548?v=4)](https://github.com/styxit "styxit (1 commits)")[![nicolasbeauvais](https://avatars.githubusercontent.com/u/2951704?v=4)](https://github.com/nicolasbeauvais "nicolasbeauvais (1 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (1 commits)")[![SamuelNitsche](https://avatars.githubusercontent.com/u/24483576?v=4)](https://github.com/SamuelNitsche "SamuelNitsche (1 commits)")[![vmitchell85](https://avatars.githubusercontent.com/u/1248035?v=4)](https://github.com/vmitchell85 "vmitchell85 (1 commits)")[![dyusha](https://avatars.githubusercontent.com/u/8942108?v=4)](https://github.com/dyusha "dyusha (1 commits)")[![hxnk](https://avatars.githubusercontent.com/u/1008127?v=4)](https://github.com/hxnk "hxnk (1 commits)")[![kapersoft](https://avatars.githubusercontent.com/u/13007854?v=4)](https://github.com/kapersoft "kapersoft (1 commits)")

---

Tags

laravelpushoverpushover-notificationspushover-notifications-channel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/laravel-notification-channels-pushover/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-notification-channels-pushover/health.svg)](https://phpackages.com/packages/laravel-notification-channels-pushover)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M164](/packages/spatie-laravel-health)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[laravel-notification-channels/expo

Expo Notifications Channel for Laravel

67628.6k1](/packages/laravel-notification-channels-expo)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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