PHPackages                             jtl-software/opsgenie-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. jtl-software/opsgenie-client

ActiveProject

jtl-software/opsgenie-client
============================

3.0.0(2y ago)2153.8k↑12.9%33proprietaryPHPPHP ^8.2CI passing

Since Nov 29Pushed 2y ago2 watchersCompare

[ Source](https://github.com/jtl-software/php-api-client-opsgenie)[ Packagist](https://packagist.org/packages/jtl-software/opsgenie-client)[ RSS](/packages/jtl-software-opsgenie-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (5)Versions (7)Used By (3)

JTL - PHP API Client for OpsGenie
=================================

[](#jtl---php-api-client-for-opsgenie)

[![Build Status](https://camo.githubusercontent.com/f3288986a7fd85ada1b537c7f2ed2699dcbb30e6064fa7d8ba2d578602c2b8f3/68747470733a2f2f7472617669732d63692e6f72672f6a746c2d736f6674776172652f7068702d6170692d636c69656e742d6f707367656e69652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jtl-software/php-api-client-opsgenie)

PHP implementation to connect to OpsGenie Alert API. The implementation is focused on what we require @JTL for our application Alerting.

Features
--------

[](#features)

- Create Alert
- Get specific Alert (by alias) from API
- Close Alert
- Ping Heatbeat

How-To-Use
----------

[](#how-to-use)

Create / Get / Close Alert

```
# named constructor to create a client (for EU)
$client = AlertApiClient::createForEUApi(getenv(UPSGENIE_TOKEN));

$alert = new Alert('eazyauction', 'test-alert', 'foo mag bär', 'beer-bar');
$response = $client->createAlert($alert);

if($response->isSuccessful()){

    // read our former created alert
    $alert = $client->getAlert(new GetAlertRequest($alert->getAlias()));

    // close our former created alert
    $client->closeAlert(new CloseAlertRequest($alert->getAlias()));
}
```

Ping Heartbeat

```
$token = "xxx-xxx-xxx";
$client = new HeartbeatApiClient(HttpClient::createForEUApi(getenv(UPSGENIE_TOKEN)));
do {
    $result = $client->sendPing(new PingRequest('beat'));
    var_dump($result, $result->isSuccessful());
    sleep(60);
} while(true);
```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~365 days

Recently: every ~430 days

Total

6

Last Release

900d ago

Major Versions

1.0.0 → 2.0.02019-03-15

2.1.0 → 3.0.02023-11-30

PHP version history (2 changes)1.0.0PHP &gt;=7.2

3.0.0PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![sleipi](https://avatars.githubusercontent.com/u/1415186?v=4)](https://github.com/sleipi "sleipi (21 commits)")[![Das-Ente](https://avatars.githubusercontent.com/u/20517536?v=4)](https://github.com/Das-Ente "Das-Ente (1 commits)")[![JTLSoftware](https://avatars.githubusercontent.com/u/31284956?v=4)](https://github.com/JTLSoftware "JTLSoftware (1 commits)")[![prajapati-kaushik](https://avatars.githubusercontent.com/u/10140681?v=4)](https://github.com/prajapati-kaushik "prajapati-kaushik (1 commits)")

---

Tags

opsgeniephp

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/jtl-software-opsgenie-client/health.svg)

```
[![Health](https://phpackages.com/badges/jtl-software-opsgenie-client/health.svg)](https://phpackages.com/packages/jtl-software-opsgenie-client)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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