PHPackages                             lukewaite/pagerduty - 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. lukewaite/pagerduty

ActiveLibrary

lukewaite/pagerduty
===================

Library for interacting with the PagerDuty Events API v2

06PHP

Since Jun 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/lukewaite/pagerduty)[ Packagist](https://packagist.org/packages/lukewaite/pagerduty)[ RSS](/packages/lukewaite-pagerduty/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

WIP
===

[](#wip)

This project is a WIP and not currently functional.

PagerDuty v2 Events API Wrapper Class
=====================================

[](#pagerduty-v2-events-api-wrapper-class)

[![Latest Version on Packagist](https://camo.githubusercontent.com/14494b9cebaeded12a3e6f99c25971a2c3dc110bdf53f97e2ee4531a38e85e68/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c756b6577616974652f7061676572647574792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lukewaite/pagerduty)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/41c9d5d0cfbb60ff87ba01dc0af0498a874a299b32f41d799c421b4b1bc6c44c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c756b6577616974652f7061676572647574792f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/lukewaite/pagerduty)[![StyleCI](https://camo.githubusercontent.com/99d3f65f0d1b5ce167b1ff0a104e4f1b8a28c213eab8000bda4d16b0a094ffec/68747470733a2f2f7374796c6563692e696f2f7265706f732f39313038373635352f736869656c64)](https://styleci.io/repos/91087655)[![Quality Score](https://camo.githubusercontent.com/74c71c0818de4ff947b85f02621ee50faa42000f58bc30396d267030d538d4e2/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c756b6577616974652f7061676572647574792e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/lukewaite/pagerduty)[![Code Coverage](https://camo.githubusercontent.com/d5e785377695288a189240463b821e2a1f85c23107ee595b397cc7bc30614070/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c756b6577616974652f7061676572647574792f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/lukewaite/pagerduty/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/3aaf6059a5293379a66906cc5cfc217bc4cc8accfb896e58d3fb7996309cb1ba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c756b6577616974652f7061676572647574792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lukewaite/pagerduty)

This package makes it easy to send notification events to [PagerDuty](https://www.pagerduty.com)'s [v2 Events API](https://v2.developer.pagerduty.com/docs/send-an-event-events-api-v2).

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the PagerDuty service](#setting-up-the-PagerDuty-service)
- [Usage](#usage)
    - [PagerDuty Setup](#pagerduty-setup)
    - [Available methods](#available-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require lukewaite/pagerduty
```

Usage
-----

[](#usage)

TODO: Implement usage documentation

### PagerDuty Setup

[](#pagerduty-setup)

On a PagerDuty Service of your choice, create a new Integration using the [`Events API v2`](https://v2.developer.pagerduty.com/docs/send-an-event-events-api-v2).

[![Creating a new integration](doc/CreateNewIntegration.png)](doc/CreateNewIntegration.png)

The `Integration Key` listed for your new integration is what you need to set in the `setRoutingKey()` method.

[![List of Integrations with Keys](doc/ListIntegrations.png)](doc/ListIntegrations.png)

### Available methods

[](#available-methods)

TODO: Update available methods documentation.

See the \[PagerDuty v2 Events API documentation\]\[[link-pagerduty-v2-api](https://v2.developer.pagerduty.com/docs/send-an-event-events-api-v2)\] for more information about what these options will do.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Luke Waite](https://github.com/lukewaite)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/134ccfc3c0d62a251b2df558f57ac2ebc918d45bc95235acd2b60ba7f251bad1?d=identicon)[lukewaite](/maintainers/lukewaite)

---

Top Contributors

[![lukewaite](https://avatars.githubusercontent.com/u/618130?v=4)](https://github.com/lukewaite "lukewaite (10 commits)")

### Embed Badge

![Health badge](/badges/lukewaite-pagerduty/health.svg)

```
[![Health](https://phpackages.com/badges/lukewaite-pagerduty/health.svg)](https://phpackages.com/packages/lukewaite-pagerduty)
```

PHPackages © 2026

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