Download the PHP package daltcore/pushover without Composer

On this page you can find all versions of the php package daltcore/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

Laravel 5 Pushover.net Package

Build Status Latest Stable Version Total Downloads Latest Unstable Version Dependency Status License

A Laravel 5 package for Android and iOS push notification service from https://pushover.net/.

**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


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.

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

Or

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.

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

To use this in your L5 application:


Configuration

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


Usage

Now you can use the package like that:

To Set a message (Required)

To Set a Link (Optional)

To Set a Callback (Optional)

To Set a Sound (Optional) Supported Notification Sounds https://pushover.net/api#sounds

To Set a Device Name (Optional)

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

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

To Set Priority (Optional) For More Info about Priority https://pushover.net/api#priority

To turn the Debug mode (Optional)

To Send the Message (Required)

All other information will be found in details here https://pushover.net/api


Commands

In the version 1.2.0 and above it supports the Artisan Commands but first make sure that you've done the 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 https://pushover.net/api#sounds

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 https://pushover.net/api#priority "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

Copyright (c) 2017 Dyaa Eldin Moustafa Licensed under the MIT license.


All versions of pushover with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
illuminate/support Version ~5.0
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 daltcore/pushover contains the following files

Loading the files please wait ....