1. Go to this page and download the library: Download got/tarth 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/ */
got / tarth example snippets
static public function createApiTask($url, $method = 'GET', $params = array())
static public function createEmailTask($to, $subject, $message)
static public function atomTask()
static public function exec()
static public function closeTask($taskId)
static public function getTarthHeader(TaskInterface $task)
static public function isRequestFromTarth()
public function setPriority($level)
public function setMaxPerSecond($max)
public function setMaxPerMinute($max)
public function setMaxPerHour($max)
public function setMaxPerDay($max)
public function forbidDuplicate()
public function canClose()
public function runAt($timestamp)
public function runAfter($seconds)