PHP code example of elfsundae / xgpusher

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

    

elfsundae / xgpusher example snippets


ElfSundae\XgPush\PusherServiceProvider::class,

'xgpush' => [
    'key' => env('XGPUSH_KEY'),
    'secret' => env('XGPUSH_SECRET'),
    'environment' => env('XGPUSH_ENVIRONMENT', env('APP_ENV')),
    'custom_key' => 'custom',
    'account_prefix' => 'user',
],