PHPackages                             by-nativ/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. by-nativ/pushover

ActiveLaravel-package[Mail &amp; Notifications](/categories/mail)

by-nativ/pushover
=================

Laravel 7 Pushover Package

01PHP

Since Oct 10Pushed 1y agoCompare

[ Source](https://github.com/by-nativ/Laravel-pushover)[ Packagist](https://packagist.org/packages/by-nativ/pushover)[ RSS](/packages/by-nativ-pushover/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel 5 Pushover.net Package
==============================

[](#laravel-5-pushovernet-package)

[![Build Status](https://camo.githubusercontent.com/22fa4308e4c82c6c7a997b329176283ca3930c69eb4a1c66bf567bcc52fdecb8/68747470733a2f2f7472617669732d63692e6f72672f647961612f4c61726176656c2d707573686f7665722e7376673f6272616e63683d76312e342e30)](https://travis-ci.org/dyaa/Laravel-pushover) [![Latest Stable Version](https://camo.githubusercontent.com/d5d66ea80431939cd086ebfa81760e48348e71ac57663d98dacde98d83c9a35e/68747470733a2f2f706f7365722e707567782e6f72672f647961612f707573686f7665722f762f737461626c652e706e67)](https://packagist.org/packages/dyaa/pushover) [![Total Downloads](https://camo.githubusercontent.com/7eb19a74503bc0d327585ee1bda8d777f94f85f15ce85571ecaebab92a71d688/68747470733a2f2f706f7365722e707567782e6f72672f647961612f707573686f7665722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/dyaa/pushover) [![Latest Unstable Version](https://camo.githubusercontent.com/b7970966592012ae443f53950727514d6866a8a364a6b910fdd7b671a5a9d67e/68747470733a2f2f706f7365722e707567782e6f72672f647961612f707573686f7665722f762f756e737461626c652e706e67)](https://packagist.org/packages/dyaa/pushover) [![Dependency Status](https://camo.githubusercontent.com/84d6c7bad490913490f6033e466cdb2e9e6e4f3be7051de9b38cc7445b099e53/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3533303363663036656331333735303635653030303030332f62616467652e706e67)](https://www.versioneye.com/user/projects/5303cf06ec1375065e000003) [![License](https://camo.githubusercontent.com/dea1a9ceaa5fdb775b55b91dec545c66cb414b8a13f1e99b83907e550cadbbb9/68747470733a2f2f706f7365722e707567782e6f72672f647961612f707573686f7665722f6c6963656e73652e706e67)](https://packagist.org/packages/dyaa/pushover)

A Laravel 5 package for Android and iOS push notification service from .

\*\*Please if you found any bug or you have any enhancement, You're so welcomed to open an Issue or make a pull request.

#### Content

[](#content)

- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
- [Commands](#commands)
- [License](#license)

---

#### Installation

[](#installation)

If you still using laravel 4.1 use the **1.3.0** version

To get the latest version of dyaa/pushover simply require it in your `composer.json` file.

```
"dyaa/pushover": "dev-master"
```

After that, you'll need to run `composer update` to download the latest Version and updating the autoloader.

Or

```
composer require dyaa/pushover:dev-master
```

Once dyaa/pushover is installed, you need to register the Service Provider. To do that open `app/config/app.php` and add the following to the `providers` key.

```
'Dyaa\Pushover\PushoverServiceProvider',
```

Next you add this facade to `app/config/app.php`

```
'Dyaa\Pushover\Facades\Pushover',
```

To use this in your L5 application:

```
use Dyaa\Pushover\Facades\Pushover;
```

---

#### Configuration

[](#configuration)

Create `app/config/pushover.php` and fill it with your Token and the User Key from

```
return [
    'token' => 'App Token',
    'user_key' => 'User Key',
];
```

---

#### Usage

[](#usage)

Now you can use the package like that:

To Set a message (**Required**)

```
Pushover::push($title, $message);
```

To Set a Link (Optional)

```
Pushover::url($url, $title);
```

To Set a Callback (Optional)

```
Pushover::callback($callbackURL);
```

To Set a Sound (Optional) Supported Notification Sounds

```
Pushover::sound($sound);
```

To Set a Device Name (Optional)

```
Pushover::device($device);
```

To Set if the Message should be sent as HTML (Optional) Default is 1

```
Pushover::html($html);
```

To Set a Timestamp (Optional) Default is *time()*

```
Pushover::timestamp($timestamp);
```

To Set Priority (Optional) For More Info about Priority

```
Pushover::priority($priority, $retry, $expire);
```

To turn the Debug mode (Optional)

```
Pushover::debug(true);
```

To Send the Message (**Required**)

```
Pushover::send();
```

All other information will be found in details here

---

#### Commands

[](#commands)

In the version 1.2.0 and above it supports the Artisan Commands but first make sure that you've done the [Configuration](#configuration) correctly.

You can run

```
php artisan list

```

and you'll find

```
pushover
pushover:send               Pushover Command

```

To send a pushover message you'll be able to use it like this way ( **Title and Message are Required** )

```
php artisan pushover:send YourTitle YourMessage

```

to turn on the debug mode just add

```
--debug

```

in the end of the Command line

to set a sound you can add *"Optional"*

```
--sound=YourSound

```

To know the supported sounds from here

to set a Device name *"Optional"*

```
--device=YourDeviceName

```

to send a URL *"Optional"*

```
--url=http://www.example.com/

```

to set a title for the URL *"Optional"*

```
--urltitle=UrlTitle

```

to set a priority Message you can know more about the Priority Messages from here  *"Optional"*

```
--priority=1

```

to set a priority retry *(in seconds)* Default is **60** *"Optional"*

```
--retry=60

```

to set a priority expire *(in seconds)* Default is **356** *"Optional"*

```
--expire=356

```

to set if message should be sent as HTML. Default is **1** *"Optional"**Note: Message body needs to be wrapped in quotes.*

```
--html=1

```

---

#### License

[](#license)

Copyright (c) 2017 [Dyaa Eldin Moustafa](https://dyaa.me/) Licensed under the [MIT license](https://github.com/dyaa/Laravel-pushover/blob/master/LICENSE).

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 Bus Factor1

Top contributor holds 62.2% of commits — single point of failure

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/e35b68ea8fc6a4c9c7f5207b14d86603b95670c94e1fa3407e40e8b1f7eb4ccb?d=identicon)[piwii](/maintainers/piwii)

---

Top Contributors

[![dyaa](https://avatars.githubusercontent.com/u/4283185?v=4)](https://github.com/dyaa "dyaa (23 commits)")[![martinlindhe](https://avatars.githubusercontent.com/u/181531?v=4)](https://github.com/martinlindhe "martinlindhe (6 commits)")[![cschalenborgh](https://avatars.githubusercontent.com/u/10864861?v=4)](https://github.com/cschalenborgh "cschalenborgh (2 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (2 commits)")[![waffle-with-pears](https://avatars.githubusercontent.com/u/8701611?v=4)](https://github.com/waffle-with-pears "waffle-with-pears (1 commits)")[![Donny5300](https://avatars.githubusercontent.com/u/4244962?v=4)](https://github.com/Donny5300 "Donny5300 (1 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (1 commits)")[![jeteon](https://avatars.githubusercontent.com/u/4679893?v=4)](https://github.com/jeteon "jeteon (1 commits)")

### Embed Badge

![Health badge](/badges/by-nativ-pushover/health.svg)

```
[![Health](https://phpackages.com/badges/by-nativ-pushover/health.svg)](https://phpackages.com/packages/by-nativ-pushover)
```

###  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.3M228](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M52](/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)
