PHP code example of nevsnode / gordon
1. Go to this page and download the library: Download nevsnode/gordon 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/ */
nevsnode / gordon example snippets
use Gordon\Task;
use Gordon\Taskqueue;
$taskqueue = new Taskqueue();
$task = new Task('something');
$task->addArg('123');
$task->setEnv('APP_ENV', 'production');
$taskqueue->addTask($task);