PHPackages                             xelon-ag/php-api-client-opsgenie - 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. xelon-ag/php-api-client-opsgenie

ActiveProject[API Development](/categories/api)

xelon-ag/php-api-client-opsgenie
================================

2.0.2(6y ago)02proprietaryPHPPHP &gt;=7.2

Since Nov 29Pushed 3y agoCompare

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

READMEChangelogDependencies (4)Versions (6)Used By (0)

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

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~107 days

Total

4

Last Release

2397d ago

Major Versions

1.0.0 → 2.0.02019-03-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/1de1fd256c524ac6d6b73ff586a96eb216437f260e2e315dc7d80800d5820564?d=identicon)[tonkoshkurik](/maintainers/tonkoshkurik)

---

Top Contributors

[![sleipi](https://avatars.githubusercontent.com/u/1415186?v=4)](https://github.com/sleipi "sleipi (15 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)")[![tonkoshkurik](https://avatars.githubusercontent.com/u/13135755?v=4)](https://github.com/tonkoshkurik "tonkoshkurik (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/xelon-ag-php-api-client-opsgenie/health.svg)

```
[![Health](https://phpackages.com/badges/xelon-ag-php-api-client-opsgenie/health.svg)](https://phpackages.com/packages/xelon-ag-php-api-client-opsgenie)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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