PHPackages                             instela/instela-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. [API Development](/categories/api)
4. /
5. instela/instela-php-sdk

ActiveLibrary[API Development](/categories/api)

instela/instela-php-sdk
=======================

Instela API

18PHP

Since Jan 4Pushed 10y ago1 watchersCompare

[ Source](https://github.com/instela/instela-php-sdk)[ Packagist](https://packagist.org/packages/instela/instela-php-sdk)[ RSS](/packages/instela-instela-php-sdk/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Instela API PHP SDK
===================

[](#instela-api-php-sdk)

[![Build Status](https://camo.githubusercontent.com/3584c28c2e424f72a8636a299c38ed886f176e50f00a4cda0de3ef4e0362e570/68747470733a2f2f7472617669732d63692e6f72672f696e7374656c612f696e7374656c612d7068702d73646b2e737667)](https://travis-ci.org/instela/instela-php-sdk)

Instela API makes accessible almost every method used in [Instela](https://www.instela.com). With PHP SDK, you can easily access to all API functions in PHP.

Getting Started
---------------

[](#getting-started)

1. **Minimum requirements** – To run the SDK, your system will need to meet the \[minimum requirements\]\[docs-requirements\], including having **PHP &gt;= 5.5**compiled with the cURL extension and cURL 7.16.2+ compiled with a TLS backend (e.g., NSS or OpenSSL).
2. **Install the SDK** – Using \[Composer\] is the recommended way to install the AWS SDK for PHP. The SDK is available via \[Packagist\] under the \[`instela/instela-php-sdk`\]\[install-packagist\] package.
3. **Using the SDK** – Please read this document to learn how to use the API.

Usage
=====

[](#usage)

Available API's
---------------

[](#available-apis)

- [MessagesClient](#messagesclient)
    - [getThreadList](#getthreadlist)
    - [getThread](#getthread)
    - [sendMessage](#sendmessage)
    - [getMessage](#getmessage)

MessagesClient
--------------

[](#messagesclient)

*\\Instela\\SDK\\Messages\\MessagesClient*

This API is used to interact with the Instela Messaging service.

All methods of this API requires a valid OAuth 2.0 access token.

You can create a new instance for this API you can use the default constructor:

```
use Instela\SDK\Messages;
$client = MessagesClient(array(
 'token' => 'ACCESS_TOKEN'
));
```

### getThreadList

[](#getthreadlist)

Gets thread list for the authorized user.

```
MessagesClient::getThreadList( array $args = array() ): \Instela\SDK\Model\ThreadList
```

**Example:**

```
$threadList = $messageClient->getThreadList(array(
    'page' => 1, // Optional, default = 1
    'per_page' => '25' // Optional, default = 1
));
```

**Return Value:**

Returns a thread list object

---

### getThread

[](#getthread)

Gets the thread for the authorized user.

```
MessagesClient::getThread( array $args = array() ): \Instela\SDK\Model\Thread
```

**Example:**

```
$thread = $messageClient->getThread(array(
    'u1' => 1,  // User Id of the first participant of the message thread
    'u2' => 50, // User Id of the second participant of the message thread
    'page' => 1, // Optional, default = 1
    'per_page' => '25' // Optional, default = 1
));
```

**Return Value:**

Returns a thread object.

---

### sendMessage

[](#sendmessage)

Sends message from the account of the authorized user.

```
MessagesClient::sendMessage( array $args = array() ): \Instela\SDK\Model\Message
```

**Example:**

```
$message = $messageClient->sendMessage(array(
    'receiver' => 1,  // User Id of the receiver
    'message' => "test message", // Message body
));
```

**Return Value:**

Returns the sent message.

---

### getMessage

[](#getmessage)

Gets message with given id.

```
MessagesClient::getMessage( array $args = array() ): \Instela\SDK\Model\Message
```

**Example:**

```
$message = $messageClient->getMessage(array(
    'id' => 1,  // Id of the message
));
```

**Return Value:**

Returns the found message.

---

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/963018?v=4)[Çağatay Gürtürk](/maintainers/cagataygurturk)[@cagataygurturk](https://github.com/cagataygurturk)

---

Top Contributors

[![cagataygurturk](https://avatars.githubusercontent.com/u/963018?v=4)](https://github.com/cagataygurturk "cagataygurturk (18 commits)")

### Embed Badge

![Health badge](/badges/instela-instela-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/instela-instela-php-sdk/health.svg)](https://phpackages.com/packages/instela-instela-php-sdk)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M96](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
