PHP code example of tamizh / realtime-push

1. Go to this page and download the library: Download tamizh/realtime-push 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/ */

    

tamizh / realtime-push example snippets

 
        'providers'     => array(
                //...
                Realtime\Push\RealtimePusherProvider::class,

        ), 
 
        'facades'       => array(

                //...
                'Push'          => Realtime\Push\Facades\RealtimePusher::class,

        ), 
 php artisan vendor:publish 

Push::notify($user_secret, $text, $image)