2017 © Pedro Peláez
 

library notifier

Notifier, direct notifications.

image

linkorb/notifier

Notifier, direct notifications.

  • Wednesday, June 26, 2013
  • by joostfaassen
  • Repository
  • 2 Watchers
  • 1 Stars
  • 45 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Notifier

Build Status, (*1)

Notifier acts as a notification center., (*2)

Recipients will only receive the messages they signed up for., (*3)

Usage

<?php

$notifier = new Notifier\Notifier();
$notifier->pushProcessor(function($message) {
    $recipients = $message->getRecipients();
    // only set the filters just before sending.
    foreach ($recipients as &$recipient) {
        if ($recipient->getData() == 'Dries') {
            $recipient->addType('test', 'var_dump');
        }
    }
    return $message;
});
$notifier->pushHandler(new Notifier\Handler\VarDumpHandler(array('test', 'mailing')));

$message = new Notifier\Message\Message('test');
$message->addRecipient(new Notifier\Recipient\Recipient('Dries'));

$notifier->sendMessage($message);

Current state

The project is still in development and is not yet suited for production environments., (*4)

Handlers

  • MailHandler: Send the message via mail.
  • SwiftMailerHandler: Send the message using Swift Mailer.
  • ProwlAppHandler: Send the message to iOS using Prowl.
  • PushoverHandler: Send the message to iOS/android using Pushover.
  • NullHandler: Ignore the message completely.
  • VarDumpHandler: Send the output to the screen. (For debugging)

License

Notifier is licensed under the MIT license., (*5)

The Versions

26/06 2013

dev-master

9999999-dev https://github.com/nousefreak/Notifier

Notifier, direct notifications.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

messages notification

25/02 2013

0.3.0

0.3.0.0 https://github.com/nousefreak/Notifier

Notifier, direct notifications.

  Sources   Download

MIT

The Requires

  • php >=5.3.4

 

The Development Requires

messages notification

02/12 2012

0.2.0

0.2.0.0 https://github.com/nousefreak/Notifier

Notifier, direct notifications.

  Sources   Download

MIT

The Requires

  • php >=5.3.4

 

messages notification

02/12 2012

0.1.0

0.1.0.0 http://notifier.nousefreak.be

Notifier, direct notifications.

  Sources   Download

MIT

The Requires

  • php >=5.3.4

 

messages notification