2017 © Pedro Peláez
 

library laravel-sendpush

Laravel 5 SendPush Package

image

mobytes/laravel-sendpush

Laravel 5 SendPush Package

  • Monday, January 9, 2017
  • by evervasquez
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

# Laravel 5 SendPush Package

A Laravel 5 package for Android and soon in iOS push notification service from http://notify.mobytesac.com., (*1)

**Please if you found any bug or you have any enhancement, You're so welcomed to open an Issue or make a pull request., (*2)

Content


Installation

Add to require in composer.json, (*3)

composer require mobytes/laravel-sendpush
{   
     ...
    "require": {
        ...
        "mobytes/laravel-sendpush": "~1.2"
    }
}
composer update

Once mobytes/laravel-sendpush 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., (*4)

Mobytes\SendPush\SendPushServiceProvider::class,

Next you add this facade to app/config/app.php, (*5)

'SendPush' => Mobytes\SendPush\Facades\SendPush::class,

To use this in your L5 application:, (*6)

use Mobytes\SendPush\Facades\SendPush;

Configuration

Create app/config/sendpush.php and fill it with your Token and the User Key from http://notify.mobytesac.com/, (*7)

return [
    'token_user' => 'User Token key',
    'token_app' => 'App Token key',
];

Usage

Now you can use the package like that:, (*8)

To Set a message (Required), (*9)

SendPush::push($title, $message);

To Send the Message (Required), (*10)

SendPush::send();

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., (*11)

You can run, (*12)

php artisan list

and you'll find, (*13)

sendpush
sendpush:send               SendPush Command

To send a pushover message you'll be able to use it like this way ( Title and Message are Required ), (*14)

php artisan sendpush:send "YourTitle" "YourMessage"

to turn on the debug mode just add, (*15)


License

Copyright (c) 2016 SendPush Licensed under the [MIT license][2]., (*16)

The Versions

09/01 2017

dev-master

9999999-dev

Laravel 5 SendPush Package

  Sources   Download

MIT

The Requires

 

by eveR Vásquez

laravel command cli artisan notification pushover real time

29/12 2016

v1.2

1.2.0.0

Laravel 5 SendPush Package

  Sources   Download

MIT

The Requires

 

by eveR Vásquez

laravel command cli artisan notification pushover real time

29/12 2016

v1.0

1.0.0.0

Laravel 5 SendPush Package

  Sources   Download

MIT

The Requires

 

by eveR Vásquez

laravel command cli artisan notification pushover real time