1. Go to this page and download the library: Download francislavoie/php-resque 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/ */
francislavoie / php-resque example snippets
class MyJob {
public function setUp() {
// Set up environment for this job
}
public function perform($args) {
// Perform some job
}
public function tearDown() {
// Remove environment for this job
}
}