PHPackages                             tonicforhealth/pagerduty-client - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. tonicforhealth/pagerduty-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

tonicforhealth/pagerduty-client
===============================

This is the client for creating events and sending them to PagerDuty by API

v0.1.0(9y ago)0154MITPHP

Since Jul 27Pushed 9y ago2 watchersCompare

[ Source](https://github.com/tonicforhealth/pagerduty-client)[ Packagist](https://packagist.org/packages/tonicforhealth/pagerduty-client)[ RSS](/packages/tonicforhealth-pagerduty-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (2)Used By (0)

PagerDuty client
================

[](#pagerduty-client)

[![License](https://camo.githubusercontent.com/622d5512f176fa7d994dd1ee02087590440c1f15fe7c7742ee447a5ca3785236/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f746f6e6963666f726865616c74682f7061676572647574792d636c69656e742e7376673f6d61784167653d32353932303030)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/a851c36f8f142eb14757958f62c055e688f49aabf7b0e083e4474c0a3f9fd7c3/68747470733a2f2f7472617669732d63692e6f72672f746f6e6963666f726865616c74682f7061676572647574792d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tonicforhealth/pagerduty-client)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/91485ae870bb0f7ba80423b343108df549ed5ac7e86ca167df3469f7e26d57cb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746f6e6963666f726865616c74682f7061676572647574792d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tonicforhealth/pagerduty-client/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/5e5185abbcb268536815c018151050ffac8c4a2863d8de6fb5727336c1aca8b3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746f6e6963666f726865616c74682f7061676572647574792d636c69656e742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tonicforhealth/pagerduty-client/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/fd4c8fdf87064e66a6ee9e2576212329a50afe0e2a9ca106155ae12bb1495fb4/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64343530353136382d363937642d343730632d623239372d3962366532363539386333372f6d696e692e706e67)](https://insight.sensiolabs.com/projects/d4505168-697d-470c-b297-9b6e26598c37)

PagerDuty is a client lib that provides us with the object interface to use PagerDuty [events-api](https://v2.developer.pagerduty.com/docs/events-api)and allows us to extend this lib to use with PagerDuty [rest-api v2](https://v2.developer.pagerduty.com/docs/rest-api)

Simple way to try it with [Composer](http://getcomposer.org/)
-------------------------------------------------------------

[](#simple-way-to-try-it-with-composer)

### Installation

[](#installation)

if you want to try it

```
mkdir pagerduty-client-app && cd pagerduty-client-app && composer init --stability=dev -n &&  composer require tonicforhealth/pagerduty-client php-http/guzzle6-adapter guzzlehttp/guzzle:~6.1
```

Usage example
-------------

[](#usage-example)

```
