PHPackages                             eheuje/pushover-bundle - 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. eheuje/pushover-bundle

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

eheuje/pushover-bundle
======================

Provide some tools to use Pushover in a symfony 2 project

0.1.2(10y ago)3271[1 PRs](https://github.com/eheuje/PushoverBundle/pulls)GLP-3.0PHPPHP &gt;=5.3.9

Since Mar 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/eheuje/PushoverBundle)[ Packagist](https://packagist.org/packages/eheuje/pushover-bundle)[ RSS](/packages/eheuje-pushover-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

PushoverBundle
==============

[](#pushoverbundle)

Provide some tools to use [Pushover](https://pushover.net/) in a symfony 2 project.

What's Pushover ?
-----------------

[](#whats-pushover-)

Pushover is a simple notification provider for Android, iPhone, iPad, and Desktop.

[Further information](https://pushover.net/).

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

[](#installation)

- Create an account on [Pushover](https://pushover.net/).
- On the Pushover website, create an application to get a specific API key for the application
- Download the mobile app and synchronize it with your account
- Then add this bundle in your composer.json

```
$ composer require eheuje/pushover-bundle

```

- Enable the bundle in your appKernel.php
- Configure the following parameters in your config.yml with your own values (**user\_key**, **api\_key** and **user\_email** are provided by Pushover once you've create your account and the specific application)

```
eheuje_pushover:
    application:
        user_key:
        api_key:
        user_email:

```

Services
--------

[](#services)

To get the service from a controller that says "Hello World" :

```
$this->get('eheuje_pushover.pusher')
     ->setMessage("Hello World")
     ->push();
```

### Additional information

[](#additional-information)

It's possible to add extra information in your notifications :

- the duration of a task
- the memomy used by the task

```
eheuje_pushover:
    additional_information:
        duration: ~ # true or false
        memory: ~ # true or false

```

However, this feature is not automatic. It works with the StopWatch Component.

[Further information about StopWatch](http://symfony.com/doc/current/components/stopwatch.html)

```
use Symfony\Component\Stopwatch\Stopwatch;

$stopwatch = new Stopwatch();
$stopwatch->start('eventName');
// ... some code goes here
$event = $stopwatch->stop('eventName');

$this->get('eheuje_pushover.pusher')
     ->setMessage("Hello World")
     ->setStopwatchEvent($event)
     ->push();
```

PushoverCommand
---------------

[](#pushovercommand)

[Further information about the Console Component](http://symfony.com/doc/current/components/console/introduction.html)

When you create huge commands, it takes a lot of time to execute them. If you don't want to wait behind your computer for the commands to terminate, you can create your command as an inheritance of **PushoverCommand**.

```
use Eheuje\PushoverBundle\Command\PushoverCommand;
use Symfony\Component\Console\Command\Command;

class GreetCommand extends PushoverCommand
{
// ... some code goes here
}
```

Then, call the command with the option **--with-pushover**.

```
$ php app/console foo:bar "Hello World" --with-pushover

```

When the command is terminated, you'll be notified if :

- the command is terminated with a with a awaiting exit code ;
- the command is terminated with an Exception.

Todolist
--------

[](#todolist)

- Do something with the pushover email function
- Do some tests
- Clean the bundle

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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.

###  Release Activity

Cadence

Every ~4 days

Total

3

Last Release

3740d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/30779f8bd4da0d42f3f294fab4cc400a3c0672fc7d1f43497b55569360cfcceb?d=identicon)[eheuje](/maintainers/eheuje)

---

Top Contributors

[![jycamier](https://avatars.githubusercontent.com/u/984570?v=4)](https://github.com/jycamier "jycamier (2 commits)")[![vegagame](https://avatars.githubusercontent.com/u/796184?v=4)](https://github.com/vegagame "vegagame (1 commits)")

### Embed Badge

![Health badge](/badges/eheuje-pushover-bundle/health.svg)

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

###  Alternatives

[ras/flash-alert-bundle

FlashAlertBundle provides a simplified way to handle (add/display) Symfony flash messages. Client side scripts are written in pure JavaScript.

2323.3k](/packages/ras-flash-alert-bundle)[trt/swift-css-inliner-bundle

A Swiftmailer plugin that provide css inline feature

1131.4k](/packages/trt-swift-css-inliner-bundle)

PHPackages © 2026

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