PHP code example of kubill / larapush
1. Go to this page and download the library: Download kubill/larapush library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kubill / larapush example snippets
\Kubill\LaraPush\PusherServiceProvider::class,
'Pusher' => \Kubill\LaraPush\Facades\Pusher::class,
use \Kubill\LaraPush\Facades\Pusher;
Pusher::send('hello world', array('key' => 'value'));
bash
php artisan vendor:publish --provider="Kubill\LaraPush\PusherServiceProvider"