PHPackages                             alohi/signplus - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. alohi/signplus

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

alohi/signplus
==============

2.4.0(8mo ago)131[1 PRs](https://github.com/AlohiHQ/signplus-php/pulls)MITPHPPHP ^8.0

Since Aug 2Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/AlohiHQ/signplus-php)[ Packagist](https://packagist.org/packages/alohi/signplus)[ RSS](/packages/alohi-signplus/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (10)Versions (15)Used By (0)

signplus PHP SDK 2.4.0
======================

[](#signplus-php-sdk-240)

Welcome to the signplus SDK documentation. This guide will help you get started with integrating and using the signplus SDK in your project.

[![This SDK was generated by liblab](https://raw.githubusercontent.com/liblaber/liblab-assets/main/assets/built-by-liblab-icon.svg)](https://liblab.com/?utm_source=readme)

Versions
--------

[](#versions)

- API version: `2.5.0`
- SDK version: `2.4.0`

About the API
-------------

[](#about-the-api)

Integrate legally-binding electronic signature to your workflow

Table of Contents
-----------------

[](#table-of-contents)

- [Setup &amp; Configuration](#setup--configuration)
    - [Supported Language Versions](#supported-language-versions)
    - [Installation](#installation)
- [Authentication](#authentication)
    - [Access Token Authentication](#access-token-authentication)
- [Setting a Custom Timeout](#setting-a-custom-timeout)
- [Sample Usage](#sample-usage)
- [Services](#services)
- [Models](#models)
- [License](#license)

Setup &amp; Configuration
-------------------------

[](#setup--configuration)

### Supported Language Versions

[](#supported-language-versions)

This SDK is compatible with the following versions: `PHP >= 8.0`

### Installation

[](#installation)

To get started with the SDK, we recommend installing using `composer`:

```
composer require alohi/signplus
```

Authentication
--------------

[](#authentication)

### Access Token Authentication

[](#access-token-authentication)

The signplus API uses an Access Token for authentication.

This token must be provided to authenticate your requests to the API.

#### Setting the Access Token

[](#setting-the-access-token)

When you initialize the SDK, you can set the access token as follows:

```
new Client(accessToken: "YOUR_ACCESS_TOKEN");
```

If you need to set or update the access token after initializing the SDK, you can use:

```
sdk.setAccessToken("YOUR_ACCESS_TOKEN")
```

Setting a Custom Timeout
------------------------

[](#setting-a-custom-timeout)

You can set a custom timeout for the SDK's HTTP requests as follows:

```
$sdk = new Client(timeout: 1000);
```

Sample Usage
============

[](#sample-usage)

Below is a comprehensive example demonstrating how to authenticate and call a simple endpoint:

```
