PHPackages                             alissonlinneker/statuspage-php-sdk - 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. alissonlinneker/statuspage-php-sdk

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

alissonlinneker/statuspage-php-sdk
==================================

\# Code of Conduct Please don't abuse the API, and please report all feature requests and issues to https://support.atlassian.com/contact # Rate Limiting Each API token is limited to 1 request / second as measured on a 60 second rolling window. To get this limit increased, please contact us at https://support.atlassian.com/contact Error codes 420 or 429 indicate that you have exceeded the rate limit and the request has been rejected. # Basics ## HTTPS It's required ## URL Prefix In order to maintain version integrity into the future, the API is versioned. All calls currently begin with the following prefix: https://api.statuspage.io/v1/ ## RESTful Interface Wherever possible, the API seeks to implement repeatable patterns with logical, representative URLs and descriptive HTTP verbs. Below are some examples and conventions you will see throughout the documentation. \* Collections are buckets: https://api.statuspage.io/v1/pages/asdf123/incidents.json \* Elements have unique IDs: https://api.statuspage.io/v1/pages/asdf123/incidents/jklm456.json \* GET will retrieve information about a collection/element \* POST will create an element in a collection \* PATCH will update a single element \* PUT will replace a single element in a collection (rarely used) \* DELETE will destroy a single element ## Sending Data Information can be sent in the body as form urlencoded or JSON, but make sure the Content-Type header matches the body structure or the server gremlins will be angry. All examples are provided in JSON format, however they can easily be converted to form encoding if required. Some examples of how to convert things are below: // JSON { "incident": { "name": "test incident", "components": \["8kbf7d35c070", "vtnh60py4yd7"\] } } // Form Encoded (using curl as an example): curl -X POST https://api.statuspage.io/v1/example \\ -d "incident\[name\]=test incident" \\ -d "incident\[components\]\[\]=8kbf7d35c070" \\ -d "incident\[components\]\[\]=vtnh60py4yd7" # Authentication &lt;!-- ReDoc-Inject: &lt;security-definitions&gt; --&gt;

v1.0(2y ago)04unlicensePHPPHP ^7.4 || ^8.0

Since Jun 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/alissonlinneker/statuspage-php-sdk)[ Packagist](https://packagist.org/packages/alissonlinneker/statuspage-php-sdk)[ Docs](https://openapi-generator.tech)[ RSS](/packages/alissonlinneker-statuspage-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

StatusPage.io OpenAPIClient-php
===============================

[](#statuspageio-openapiclient-php)

[![Latest Stable Version](https://camo.githubusercontent.com/3b53daf9e50d11940cc326b0c884b2aa60f6618b913bd92aa368b319ceeaf0c2/68747470733a2f2f706f7365722e707567782e6f72672f616c6973736f6e6c696e6e656b65722f737461747573706167652d7068702d73646b2f762f737461626c652e706e67)](https://packagist.org/packages/alissonlinneker/statuspage-php-sdk)

Code of Conduct
===============

[](#code-of-conduct)

Please don't abuse the API, and please report all feature requests and issues to

Rate Limiting
=============

[](#rate-limiting)

Each API token is limited to 1 request / second as measured on a 60 second rolling window. To get this limit increased, please contact us at

Error codes 420 or 429 indicate that you have exceeded the rate limit and the request has been rejected.

Basics
======

[](#basics)

HTTPS
-----

[](#https)

It's required

URL Prefix
----------

[](#url-prefix)

In order to maintain version integrity into the future, the API is versioned. All calls currently begin with the following prefix:

RESTful Interface
-----------------

[](#restful-interface)

Wherever possible, the API seeks to implement repeatable patterns with logical, representative URLs and descriptive HTTP verbs. Below are some examples and conventions you will see throughout the documentation.

- Collections are buckets:
- Elements have unique IDs:
- GET will retrieve information about a collection/element
- POST will create an element in a collection
- PATCH will update a single element
- PUT will replace a single element in a collection (rarely used)
- DELETE will destroy a single element

Sending Data
------------

[](#sending-data)

Information can be sent in the body as form urlencoded or JSON, but make sure the Content-Type header matches the body structure or the server gremlins will be angry.

All examples are provided in JSON format, however they can easily be converted to form encoding if required. Some examples of how to convert things are below:

```
// JSON
{
  \"incident\": {
    \"name\": \"test incident\",
    \"components\": [\"8kbf7d35c070\", \"vtnh60py4yd7\"]
  }
}

// Form Encoded (using curl as an example):
curl -X POST https://api.statuspage.io/v1/example \\
  -d \"incident[name]=test incident\" \\
  -d \"incident[components][]=8kbf7d35c070\" \\
  -d \"incident[components][]=vtnh60py4yd7\"

```

Authentication
==============

[](#authentication)

For more information, please visit .

Installation &amp; Usage
------------------------

[](#installation--usage)

### Requirements

[](#requirements)

PHP 7.4 and later. Should also work with PHP 8.0.

### Composer

[](#composer)

To install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/alissonlinneker/statuspage-php-sdk.git"
    }
  ],
  "require": {
    "alissonlinneker/statuspage-php-sdk": "*@dev"
  }
}
```

Then run `composer install`

Or

Once you have Composer installed, you can install the statuspage-php-sdk by running the following command in the root directory of your project:

`composer require alissonlinneker/statuspage-php-sdk`

### Manual Installation

[](#manual-installation)

Download the files and include `autoload.php`:

```
