PHP code example of jorbascrumps / laravel-queue-it
1. Go to this page and download the library: Download jorbascrumps/laravel-queue-it 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/ */
jorbascrumps / laravel-queue-it example snippets
use Illuminate\Support\Facades\Route;
Route::view('/event', 'event')->middleware('queue-it.known-user-queue');
use Illuminate\Support\Facades\Route;
Route::view('/event', 'event')->middleware('queue-it.known-user-queue');
use Illuminate\Support\Facades\Route;
use Jorbascrumps\QueueIt\Http\Middleware\KnownUserQueue;
Route::view('/event', 'event')->middleware(KnownUserQueue::class);
use Illuminate\Support\Facades\Route;
use Jorbascrumps\QueueIt\Http\Middleware\InlineQueue;
Route::view('/event', 'event')->middleware([
InlineQueue::eventId('event1')
->queueDomain('jorbacrumps.queue-it.net')
]);