1. Go to this page and download the library: Download jellelampaert/ci4_queue 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/ */
jellelampaert / ci4_queue example snippets
$queue = new \jellelampaert\ci4_queue\Queue();
$queue->queue('email')->add(array(
'to' => '[email protected]',
'subject' => 'This is a test',
'message' => 'Testing, attention please'
));
$queue = new Queue();
$queue->queue('email')->add(array(
'to' => '[email protected]',
'subject' => 'This is a test',
'message' => 'Testing, attention please'
));
$queue = new Queue();
$queue->queue('email')->clean(24);
$queue = new Queue();
$queue->cleanAll(24);
$queue = new Queue();
$queue->delete(1);
$queue = new Queue();
$queue->queue('email')->getAllTasks();
$queue = new Queue();
$queue->getAllUnprocessed();
$queue = new Queue();
$queue->getTask(1);
$queue = new Queue();
$queue->queue('email')->getUnprocessed();
$queue = new Queue();
$queue->queue('email')->setProcessed(1);
$queue = new Queue();
$queue->setResponse(1, 'HTTP Error 404');
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.