lesstif/php-jira-rest-client
PHP client for the Jira REST API that lets you create, read, update, and delete issues, projects, users, and attachments. Supports custom fields, JQL searches, and common Jira workflows, making it easy to integrate Jira into PHP applications.
Install via Composer and confirm your Jira flavor (Cloud vs Server) before writing any code — it determines the auth method and API version you'll target.
composer require lesstif/php-jira-rest-client
Minimum viable setup (Cloud with an API token):
use JiraRestApi\Configuration\ArrayConfiguration;
use JiraRestApi\Issue\IssueService;
$config = new ArrayConfiguration([
'jiraHost' => 'https://your-domain.atlassian.net',
'jiraUser' => '[email protected]',
'personalAccessToken' => getenv('JIRA_API_TOKEN'),
'jiraApiVersion' => '3', // 2 for Server/DC
'curlOptSslVerifyPeer' => true,
]);
$issues = new IssueService($config);
$issue = $issues->get('PROJ-123');
Older releases used new JiraClient($config) with $client->issues->get(...); newer ones favor per-service classes (IssueService, ProjectService, UserService, FieldService, ComponentService, VersionService, WorklogService, BoardService, SprintService). Check the class name in vendor/lesstif/php-jira-rest-client/src/ for the version you installed — the public API has shifted across majors.
First use case to wire up: read one issue and print its key, summary, and status, then **JQL-search a filter and p
How can I help you explore Laravel packages today?