You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
12
14
13
-
UPGRADE NOTICE
15
+
**Update (2025-12-10):**@cheesegrits will be taking over maintenance of this project.
16
+
17
+
Compatibility
14
18
---
15
-
The [PagerDuty Events API V2](https://v2.developer.pagerduty.com/docs/events-api-v2) is **not backwards compatible** with the [PagerDuty Events API V1](https://v2.developer.pagerduty.com/docs/events-api). Hence, this API has changed. 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`
1.**v4.***: Requires `"php": ">=8.0"` . PagerDuty Events API V2.
21
+
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`_
22
+
3.**v2.***: Requires `"php": ">=5.4.0"`. PagerDuty Events API V1.
18
23
19
24
Features
20
25
---
21
26
22
-
- Compatible with [PagerDuty Events API V2](https://developer.pagerduty.com/docs/events-api-v2/trigger-events/).
27
+
- Compatible with [PagerDuty Events API V2](https://developer.pagerduty.com/api-reference/f80f5db9acbe3-pager-duty-v2-events-api).
23
28
- Trigger, Acknowledge and Resolve incidents.
24
29
- Attach [Links](https://developer.pagerduty.com/docs/events-api-v2/trigger-events/#the-links-property) and [Images](https://developer.pagerduty.com/docs/events-api-v2/trigger-events/#the-images-property) to your incident reports.
25
30
- Unit Tests
26
31
27
32
28
33
Installation
29
34
---
30
-
Add this line to your project's `composer.json`
35
+
For **PHP 8.\*** projects, add this line to your project's `composer.json`
36
+
````
37
+
{
38
+
...
39
+
"require": {
40
+
"adilbaig/pagerduty": "4.*"
41
+
}
42
+
...
43
+
}
44
+
````
45
+
46
+
For PHP versions < 8, add this line to your project's `composer.json`
0 commit comments