PHP code example of mmanos / laravel-localpushqueue
1. Go to this page and download the library: Download mmanos/laravel-localpushqueue 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/ */
mmanos / laravel-localpushqueue example snippets
'providers' => array(
// ...
'Mmanos\LocalPushQueue\LocalPushQueueServiceProvider',
)
'connections' => array(
//...
'local' => array(
'driver' => 'localpush',
'method' => 'POST',
'url' => url('queue/receive'),
),
),
Route::post('queue/receive', function() { return Queue::marshal(); });