PHP code example of yogameleniawan / realtime-job-batching
1. Go to this page and download the library: Download yogameleniawan/realtime-job-batching 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/ */
yogameleniawan / realtime-job-batching example snippets
use YogaMeleniawan\JobBatchingWithRealtimeProgress\RealtimeJobBatch;
use App\Repositories\VerificationRepository;
RealtimeJobBatch::setRepository(new VerificationRepository())
->execute(name: 'User Verification')
php artisan queue:table
php artisan queue:batches-table
php artisan migrate
composer