Download the PHP package jamie4224/pushover without Composer

On this page you can find all versions of the php package jamie4224/pushover. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pushover

Pushover notifications channel for Laravel

Latest Version on Packagist Build Status StyleCI Quality Score Code Coverage Total Downloads

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

Contents

Installation

You can install the package via composer:

Setting up your Pushover account

To start sending messages via Pushover, you have to register an application. Add the generated Pushover application token to the services config file:

Usage

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

Make sure there is a routeNotificationForPushover method on your notifiable model, for instance:

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

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:

You can also send a message to a Pushover group:

Available Message methods

Please note that only the message content is mandatory, all other methods are optional. The message content can be set via content(''), via the create method PushoverMessage::create('') or via the constructor new PushoverMessage('').

Method Description
content($message) Accepts a string value for the message text.
html() Sets the message type to 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 and an optional string value for the title of the url.
sound($sound) Accepts a string value for the notification sound.
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 PushoverMessage::LOWEST_PRIORITY, PushoverMessage::LOW_PRIORITY, PushoverMessage::NORMAL_PRIORITY and PushoverMessage::EMERGENCY_PRIORITY.
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).

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of pushover with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
guzzlehttp/guzzle Version >=7.0.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jamie4224/pushover contains the following files

Loading the files please wait ....