Skip to main content
PERSCOM offers an official PHP SDK to help developers integrate with the PERSCOM API. The SDK provides a fluent interface for all API operations.

View on GitHub

Explore the official PERSCOM PHP SDK repository.

Installation

Install the SDK using Composer:

Getting Started

The SDK follows the same naming conventions as the PERSCOM API. The examples below demonstrate common operations that apply to all available resources.

Error Handling

The PERSCOM SDK throws exceptions when an API error occurs. Catch these exceptions with a standard try/catch block. For a more elegant approach, consider using the promise-based approach.

Promise Support

The PERSCOM SDK supports asynchronous requests using a promise-based approach. This allows you to handle successful and failed requests more fluently.