PHPackages                             shawnhooper/outdated-to-jira - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. shawnhooper/outdated-to-jira

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

shawnhooper/outdated-to-jira
============================

Creates JIRA tickets for outdated Composer and npm dependencies.

1.5.0(3mo ago)001[1 PRs](https://github.com/shawnhooper/outdated-to-jira/pulls)MITPHPPHP ^8.2CI passing

Since Apr 21Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/shawnhooper/outdated-to-jira)[ Packagist](https://packagist.org/packages/shawnhooper/outdated-to-jira)[ RSS](/packages/shawnhooper-outdated-to-jira/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (10)Versions (14)Used By (0)

Outdated Dependency Jira Ticket Creator
=======================================

[](#outdated-dependency-jira-ticket-creator)

[![CI](https://github.com/shawnhooper/outdated-to-jira/actions/workflows/ci.yml/badge.svg)](https://github.com/shawnhooper/outdated-to-jira/actions/workflows/ci.yml)

This application automates the process of tracking outdated Composer and npm dependencies by creating JIRA tickets for each outdated package.

Features
--------

[](#features)

- **Composer &amp; NPM Support:** Checks for outdated dependencies using `composer outdated` or `npm outdated`.
- **JIRA Integration:** Creates JIRA tickets in a specified project for each identified outdated dependency. Automatically sets ticket priority based on SemVer update level (MAJOR/MINOR/PATCH).
- **Configurable:** Accepts JIRA connection details (URL, API token, project key, issue type) via configuration array.
- **Filtering:** Allows processing only specific packages.
- **Duplicate Prevention:** Checks for existing JIRA tickets for the same dependency and version before creating a new one.
- **PSR-3 Logging:** Uses a PSR-3 compliant logger for output.
- **GitHub Action:** Provides a ready-to-use GitHub Action for automated checks in CI/CD pipelines.

Requirements
------------

[](#requirements)

- PHP 8.2 or higher
- Composer (if checking composer.json)
- npm (if checking package.json)
- Access to a JIRA Cloud instance with API access.
- An API token for JIRA Cloud authentication.

Installation (as a Library)
---------------------------

[](#installation-as-a-library)

Add this package as a development dependency to your project using Composer:

```
composer require --dev shawnhooper/outdated-to-jira
```

Library Usage
-------------

[](#library-usage)

Instantiate the `DependencyCheckerService` and call its `process` method.

```
