Skip to content

arabcoders/notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notification Manger

A Base Notification Manager that abstract away all the providers differences under common Interface.

Install

Via Composer

$ composer require arabcoders/notification

Usage Example.

<?php

require __DIR__ . '/../../autoload.php';

$provider = new \arabcoders\notification\Providers\PushOver();
$provider->setKey('key');

$notification = new arabcoders\notification\Notification( $provider );

$notification->setTokens( [ 'token here' ] )
             ->setTitle( 'title' )
             ->setMessage( 'message' )
             ->send();

About

A Base Notification Manager that abstract away all the providers differences under common Interface.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages