{"id":16728390,"url":"https://github.com/ragboyjr/pager-duty-client-php","last_synced_at":"2025-07-02T03:36:52.412Z","repository":{"id":62532746,"uuid":"96553414","full_name":"ragboyjr/pager-duty-client-php","owner":"ragboyjr","description":"Pager Duty API Client for PHP","archived":false,"fork":false,"pushed_at":"2017-07-07T15:50:06.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T16:23:30.891Z","etag":null,"topics":["api-client","guzzlehttp","pager-duty"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ragboyjr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-07T15:46:26.000Z","updated_at":"2017-07-07T15:47:02.000Z","dependencies_parsed_at":"2022-11-02T15:15:36.977Z","dependency_job_id":null,"html_url":"https://github.com/ragboyjr/pager-duty-client-php","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ragboyjr/pager-duty-client-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragboyjr%2Fpager-duty-client-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragboyjr%2Fpager-duty-client-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragboyjr%2Fpager-duty-client-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragboyjr%2Fpager-duty-client-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ragboyjr","download_url":"https://codeload.github.com/ragboyjr/pager-duty-client-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragboyjr%2Fpager-duty-client-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263071244,"owners_count":23409255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","guzzlehttp","pager-duty"],"created_at":"2024-10-12T23:10:09.936Z","updated_at":"2025-07-02T03:36:52.389Z","avatar_url":"https://github.com/ragboyjr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pager Duty API Client\n\nSimple PHP Client for interacting with the Pager Duty API.\n\n## Installation\n\nInstall with composer at `ragboyjr/pager-duty-client-client`\n\n## Usage\n\n```php\n\u003c?php\n\nuse Ragboyjr\\PagerDuty;\n\n$events = new PagerDuty\\GuzzleEventsApiClient(/* pass an optional custom GuzzleHttp\\ClientInterface */);\n\n$resp = $events-\u003eenqueue($routing_key, PagerDuty\\EventsApi::ACTION_TRIGGER, [\n    'summary' =\u003e 'My Alert Summary',\n    'source' =\u003e 'sub.host.com',\n    'severity' =\u003e PagerDuty\\EventsApi::SEVERITY_INFO,\n]);\n\nif ($resp-\u003eisOk()) {\n    var_dump($resp-\u003egetBody());\n} else if ($resp-\u003eisError()) {\n    var_dump($resp-\u003egetStatus());\n    var_dump($resp-\u003egetBody());\n    var_dump($resp-\u003egetHttpResponse());\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragboyjr%2Fpager-duty-client-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fragboyjr%2Fpager-duty-client-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragboyjr%2Fpager-duty-client-php/lists"}