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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pagerduty

PHP PagerDuty Events API

PHP implementation of the PagerDuty Events API V2

Latest Stable Version Total Downloads

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

  1. **v4.***: Requires "php": ">=8.0" . PagerDuty Events API V2.
  2. **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 the TriggerEvent_
  3. **v2.***: Requires "php": ">=5.4.0". PagerDuty Events API V1.

Features

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-curl

All versions of pagerduty with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-curl Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package adilbaig/pagerduty contains the following files

Loading the files please wait ...