PHPackages                             xen3r0/jira-api-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. xen3r0/jira-api-client

ActiveLibrary[API Development](/categories/api)

xen3r0/jira-api-client
======================

A Modern Jira API client

0.2.2(8mo ago)026MITPHPPHP ^8.1

Since Aug 18Pushed 8mo agoCompare

[ Source](https://github.com/Xen3r0/jira-api-client)[ Packagist](https://packagist.org/packages/xen3r0/jira-api-client)[ RSS](/packages/xen3r0-jira-api-client/feed)WikiDiscussions 0.1 Synced 1mo ago

READMEChangelog (4)DependenciesVersions (7)Used By (0)

Jira API Client
===============

[](#jira-api-client)

[![CI](https://github.com/Xen3r0/jira-api-client/actions/workflows/ci.yml/badge.svg)](https://github.com/Xen3r0/jira-api-client/actions/workflows/ci.yml)

- [Getting started](#getting-started)
    - [Prerequisites](#prerequisites)
    - [Installation](#installation)
    - [Usage](#usage)
- [Symfony Bundle](#symfony-bundle)
    - [Registering the Bundle](#registering-the-bundle)
    - [Configuration](#configuration)
    - [Usage](#usage-1)
- [Repositories](#repositories)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

**Jira API Client** is a modern PHP library that provides a simple and fluent interface to interact with the Jira API.

Getting started
===============

[](#getting-started)

Prerequisites
-------------

[](#prerequisites)

This library requires PHP 8.1 or higher and the following PHP extensions:

- `dom`
- `json`
- `xml`

Installation
------------

[](#installation)

Add [xen3r0/jira-api-client](https://packagist.org/packages/xen3r0/jira-api-client) to your `composer.json` file:

```
php composer.phar require xen3r0/jira-api-client
```

Usage
-----

[](#usage)

Create a new instance of the `JiraClient` class:

```
use Xen3r0\JiraApiClient\Configuration\ConfigurationFactory;
use Xen3r0\JiraApiClient\Http\JiraClient;

$configuration = ConfigurationFactory::create([
    'host' => 'https://your-jira-instance.atlassian.net',
    'username' => 'your-username',
    'password' => 'your-api-token',
]);
$client = new JiraClient($configuration);
```

Now, you can use some repositories, for example, `IssueRepository`:

```
use Xen3r0\JiraApiClient\Repository\IssueRepository;

$issueRepository = new IssueRepository($client);
$issue = $issueRepository->findByIdOrKey('PROJECT-123');
```

Symfony Bundle
==============

[](#symfony-bundle)

You can also use this library as a Symfony bundle, you don't need to add another package to your composer dependencies.

Registering the Bundle
----------------------

[](#registering-the-bundle)

To register the bundle, add it to your `config/bundles.php` file:

```
return [
    // ...
    Xen3r0\JiraApiClient\Symfony\Bundle\JiraApiClientBundle::class => ['all' => true],
];
```

Configuration
-------------

[](#configuration)

Then, configure the bundle in your `config/packages/jira_api_client.yaml` file:

```
jira_api_client:
    host: 'https://your-jira-instance.atlassian.net'
    username: 'your-username'
    password: 'your-api-token'
```

Usage
-----

[](#usage-1)

You can now use every repository as a service in your Symfony application. For example, to use the `IssueRepository`:

```
use Xen3r0\JiraApiClient\Repository\IssueRepositoryInterface;

#[Route('/some-route', name: 'some_route')]
class SomeController
{
    public function __construct(
        private readonly IssueRepositoryInterface $issueRepository,
    ) {
        $this->issueRepository = $issueRepository;
    }

    public function __invoke(): void
    {
        $issue = $this->issueRepository->findByIdOrKey('PROJECT-123');
        // Do something with the issue...
    }
}
```

Repositories
============

[](#repositories)

This library provides several repositories to interact with different Jira API endpoints. Here are some of the available repositories:

- `CustomFieldOptionRepository`: Manage custom field options in Jira.
- `IssueCommentRepository`: Manage comments on issues in Jira.
- `IssueRepository`: Manage issues in Jira.
- `ProjectRepository`: Manage projects in Jira.
- `VersionRepository`: Manage versions in Jira.

A repository is missing ? You can suggest a new repository by opening an issue and/or pull request.

Contributing
============

[](#contributing)

See the [CONTRIBUTING.md](CONTRIBUTING.md) file for details on how to contribute to this project.

Credits
=======

[](#credits)

- [Manuel Santisteban](https://github.com/Xen3r0)

License
=======

[](#license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance63

Regular maintenance activity

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

5

Last Release

257d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bdc7a7f5534cbfad7fb12f78eff2261d63a66daf46669aaad09a64055ebfcfe7?d=identicon)[xen3r0](/maintainers/xen3r0)

---

Top Contributors

[![Xen3r0](https://avatars.githubusercontent.com/u/2823704?v=4)](https://github.com/Xen3r0 "Xen3r0 (9 commits)")

### Embed Badge

![Health badge](/badges/xen3r0-jira-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/xen3r0-jira-api-client/health.svg)](https://phpackages.com/packages/xen3r0-jira-api-client)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M452](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
