PHP code example of technodelight / php-jira-tempo-plugin-api
1. Go to this page and download the library: Download technodelight/php-jira-tempo-plugin-api 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/ */
technodelight / php-jira-tempo-plugin-api example snippets
use Technodelight\Tempo2\HttpClient;
use Technodelight\Tempo2\Api;
$apiToken = 'your api token here, can be obtained in your jira instance';
$api = new Api(new HttpClient($apiToken));
var_dump($api->all()); // for test