PHP code example of firevel / cloud-tasks-queue-driver
1. Go to this page and download the library: Download firevel/cloud-tasks-queue-driver 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/ */
firevel / cloud-tasks-queue-driver example snippets
// Dispatch a job
dispatch(new ProcessOrder($order));
// Dispatch with delay
dispatch(new ProcessOrder($order))->delay(now()->addMinutes(5));
// Dispatch to a specific queue
dispatch(new ProcessOrder($order))->onQueue('orders');
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.