Download the PHP package adilbaig/pagerduty without Composer
On this page you can find all versions of the php package adilbaig/pagerduty. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download adilbaig/pagerduty
More information about adilbaig/pagerduty
Files in adilbaig/pagerduty
Package pagerduty
Short Description PHP wrapper to PagerDuty Events API.
License MIT
Homepage https://github.com/adilbaig/pagerduty
Informations about the package pagerduty
PHP PagerDuty Events API
PHP implementation of the PagerDuty Events API V2
New Maintainer
7th January 2026 ownership of this package has been transfered to me, @cheesegrits.
Many thanks to @adilbaig for authoring and maintaining this package and for making the effort to find and transfer to a new owner, rather than just abandoning it.
I doubt I will be making any major changes or adding new features, I simply needed the package as-is to support some long-term projects I work on. But if you need any changes or features, feel free to raise an issue.
Request for Maintainer
8th June 2025 If you're interested in taking over the maintenance of this plugin, let me know.
A bit of background. I started this plugin many years ago while working at a fintech startup. Our Ops team relied on PagerDuty and we wanted to hook up our internal alerting systems to PD. I didn't quite like what was available. I wanted something that was simple and flexible, but nothing more. This plugin has long since fulfilled that purpose. Over time people have come to use, contribute and rely on it. It is PD's recommended community plugin and the most downloaded PD plugin on Packagist. I've long since moved on; from the startup, from PHP and from PagerDuty. It's time someone else took over the maintenance here.
Your mission, should you choose to accept it, is to upgrade this plugin to PHP 8.4. Fork this repo, make the changes and send me a PR. Once committed, I will transfer ownership of the repo over.
Update (2025-12-10): @cheesegrits will be taking over maintenance of this project.
Compatibility
- **v4.***: Requires
"php": ">=8.0". PagerDuty Events API V2. - **v3.**: Requires
"php": ">=5.4.0". PagerDuty Events API V2. _If you are upgrading from a [2. release](https://github.com/adilbaig/pagerduty/releases), make sure you pay attention to the contructor of theTriggerEvent_ - **v2.***: Requires
"php": ">=5.4.0". PagerDuty Events API V1.
Features
- Compatible with PagerDuty Events API V2.
- Trigger, Acknowledge and Resolve incidents.
- Attach Links and Images to your incident reports.
- Unit Tests
Installation
For PHP 8.* projects, add this line to your project's composer.json
`
For PHP versions < 8, add this line to your project's composer.json
`
The packagist URL is https://packagist.org/packages/adilbaig/pagerduty
Usage
Trigger an event
``
Trigger event with custom connection, for example: using proxies and/or setting verbosity for debugging, etc.
``
Automatically send only one PagerDuty incident for repeated errors
``
Create a detailed 'trigger' event, add optional data. Dump the event and inspect response from PD
``
Acknowledge an event
``
Resolve an event
``
UnitTests
`
Questions
Q. How do i get the service key from PagerDuty?
A. In your PagerDuty console, click 'Configuration' > 'Services'. Click the link under 'Integrations' column. It's the 'Integration Key'
Read more here : https://v2.developer.pagerduty.com/v2/docs/events-api#getting-started
Requirements
This library needs the curl pecl extension.
In Ubuntu 16.04, install it like so :
sudo apt install php-curl
In Ubuntu 18.04, install it like so :
sudo apt install php8.3-curlAll versions of pagerduty with dependencies
ext-curl Version *