Welcome Guest, Not a member yet? Register   Sign In
Push Notifications with Pushover

(This post was last modified: 06-30-2020, 06:59 PM by MGatner.)

Hi all- I've been working evening this week to get this one out. If you've never used Pushover, it's an awesome service that brings Push Notifications to any platform. They have a really accessible API that I use for everything from user notifications to server outage reports. Today I bring you:

Pushover integration for CodeIgniter 4

Quick Start

1. Install with Composer: > composer require tatter/pushover
2. Add credentials to .env or Config/Pushover.php
3. Send an alert: service('pushover')->message(['message' => 'Hello world'])->send();

That easy! This module also supports Pushover's latest API addition, image attachments. More endpoints will be added as there is interest.
As always I welcome any feedback, suggestions, questions. Please submit formal issues or requests on GitHub.

Packagist: https://packagist.org/packages/tatter/pushover
GitHub: https://github.com/tattersoftware/codeigniter4-pushover

I should probably have supplied these as well:

Pushover - https://pushover.net
Pushover API docs - https://pushover.net/api

His MGatner,

This looks like a useful library and I can see it being very useful for having a web app/system and use their service to notify the dev or manager of new orders, service issues etc.

The Pushover service seems to be designed for notifications to me, rather than to my clients or users.

Very useful potentially and cost effective too.


I can see me using this on an upcoming project.

This looks great, I have used pushover with laravel in the past and even with ci3. Haven't had the need for it with ci4 yet. Thanks mate.
Website: marcomonteiro.net  | Blog: blog.marcomonteiro.net | Twitter: @marcogmonteiro | TILThings: tilthings.com

@Chroma you can definitely use it either way - I have done both. If you want to offer notifications to your users you collect their token and secret and store them in the database, then send using those credentials instead of your system config. Pushover also offers bulk license purchases so you can buy a pack and assign tokens that you distribute to your users, rather then making them set it up themselves.

@marco thanks for the feedback! This is actually a port from my CI3 Pushover Helper. It was much more basic but I used it pretty heavily in CI3 so I’m glad to have this ready for 4 now

This is awesome! Thank you for sharing it with us

We're official! Made the docs:

Quote:A 3rd party codeigniter4-pushover package for the CodeIgniter 4 framework written by Tatter Software is also available.


Very nice, thank you!
You can see things I made with codeigniter here: itart.pro its not overly impressive as I have very little time to learn.

Very nice. Congrats!
Website: marcomonteiro.net  | Blog: blog.marcomonteiro.net | Twitter: @marcogmonteiro | TILThings: tilthings.com

@MGatner, thanks for the clarification. This might prove to be useful in an upcoming project.

Theme © iAndrew 2016 - Forum software by © MyBB