Download the PHP package norberttech/pagerduty without Composer
On this page you can find all versions of the php package norberttech/pagerduty. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download norberttech/pagerduty
More information about norberttech/pagerduty
Files in norberttech/pagerduty
Package pagerduty
Short Description Fork of adilbaig/pagerduty - 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
This repository is a fork of adilbaig/pagerduty that seems to not be maintained anymore.
UPGRADE NOTICE
The PagerDuty Events API V2 is not backwards compatible with the PagerDuty Events API V1. Hence, this API has changed. If you are upgrading from a 2.* release, make sure you pay attention to the contructor of the TriggerEvent
Features
- Compatible with PagerDuty Events API V2.
- Trigger, Acknowledge and Resolve incidents.
- Attach Links and Images to your incident reports.
- Unit Tests
Installation
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 php7.2-curl
All versions of pagerduty with dependencies
ext-curl Version *