2017 © Pedro Peláez
 

library notifier

System notifier for PHP scripts inteded for CLI on desktops

image

eric-hansen/notifier

System notifier for PHP scripts inteded for CLI on desktops

  • Monday, September 8, 2014
  • by eric-hansen
  • Repository
  • 2 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Notifier

Wrapper of sorts for various notify systems, mainly useful for CLI scripts in PHP, (*1)

Why?

Mainly because I was bored, and I wanted to better grasp some of the OOP and advanced PHP techniques. Plus, I find it useful to show notifications for some stuff., (*2)

To Do

  • Possibly build more notifiers but who knows... I only really use notify-send.
  • Make the argument passing a bit more dynamic (this is where keyword arguments like in Python would be handy)

How To Extend

The src/EricHansen/Notifier/notifiers/Notify.php file gives a good example of what's involved. All that needs to be done really is:, (*3)

  • Extend the \EricHansen\Notifier\NotiferBase abstract class
  • Handle the arguments passed in __construct()
  • Do any formatting and such in run()
  • Optionally return the status of the command in run()

The Versions

08/09 2014

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/eric-hansen/Notifier

System notifier for PHP scripts inteded for CLI on desktops

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

by Eric Hansen

cli notification desktop notifications

07/09 2014

dev-master

9999999-dev https://github.com/eric-hansen/Notifier

System notifier for PHP scripts inteded for CLI on desktops

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

by Eric Hansen

cli notification desktop notifications