Pharover
Command line tool to send push notifications through the Pushover service., (*1)
Table of contents
Features overview
Requirements
The following versions of PHP are supported by this version., (*2)
Installation
https://packagist.org/packages/shakahl/pharover, (*3)
Add shakahl/pharover
as a requirement to composer.json
:, (*4)
{
"require": {
"shakahl/pharover": "dev-master"
}
}
Update your packages with composer update
or install with composer install
., (*5)
You can also add the package using composer require shakahl/pharover
and later specifying the version you want (for now, dev-master
is your best bet)., (*6)
Configuration
You must specify your Pullover API credentials in a .pharover.json
file., (*7)
{
"user-key" : "",
"token-key" : ""
}
The file can be placed:
* To your HOME directory.
* To the current working directory.
* To the directory containing the pharover.phar
., (*8)
Usage example
$ php pharover.phar notification:send "test message" --title="Pharover" --url="https://github.com/shakahl/pharover" --url-title="Pharover on GitHub"
Unit testing with PHPUnit
Make sure about all composer dependencies are installed already., (*9)
$ composer install
Usage under Windows
$ vendor/bin/phpunitâ.bat
Usage under Linux
$ vendor/bin/phpunit
Building
Pharover can be built with the Box2, (*10)
$ composer install --no-dev
$ box build
Known Bugs
There aren't any known issues yet., (*11)
Contributing
See CONTRIBUTING.md
file., (*12)
Credits
This package was originally created by Soma Szélpål., (*13)
Donation
You can support contributors of this project individually. Every contributor is welcomed to add his/her line below with any content. Ordering shall be alphabetically by GitHub username., (*14)
License
This project is released under the MIT License., (*15)