PHP code example of vagovszky / php-jira-rest-client
1. Go to this page and download the library: Download vagovszky/php-jira-rest-client 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/ */
vagovszky / php-jira-rest-client example snippets
use JiraRestApi\Configuration\ArrayConfiguration;
use JiraRestApi\ServiceProvider;
use JiraRestApi\JiraException;
$config = [
"jiraHost" => "http://jira.url.xx",
"jiraUser" => "user",
"jiraPassword" => "password",
"curlTimeout" => 60
];
$serviceProvider = new ServiceProvider(new ArrayConfiguration($config));