PHPackages                             unifyport/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. unifyport/sdk

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

unifyport/sdk
=============

Official PHP SDK for the UnifyPort Device API.

v0.1.0(1mo ago)01↓66.7%MITPHPPHP ^8.2CI passing

Since Jul 17Pushed 1mo agoCompare

[ Source](https://github.com/Unify-Port/UnifyPort-SDK-PHP)[ Packagist](https://packagist.org/packages/unifyport/sdk)[ RSS](/packages/unifyport-sdk/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (8)Versions (2)Used By (0)

UnifyPort PHP SDK
=================

[](#unifyport-php-sdk)

[English](README.md) | [简体中文](README.zh-CN.md)

Official PHP 8.2+ SDK for the public UnifyPort Device API. It exposes all 64 public operations through a single `UnifyPortDeviceClient`, optional resource-oriented API modules, a consistent result and exception model, safe retries, cooperative operation deadlines, response limits, and cursor pagination.

The SDK is aligned with `@unifyport/sdk-node` `0.1.2` at public Node commit `a8e00ab`. The OpenAPI contract and generated parity manifest are committed so future Node changes can be detected automatically.

Status and scope
----------------

[](#status-and-scope)

- PHP `8.2+` on a 64-bit runtime;
- Composer with PSR-4 autoloading;
- PSR-18 HTTP client and PSR-17 request/stream factories supplied by the application;
- all 64 Device API operations and 69 public component schemas;
- generated per-operation request/response PHPStan types, including input/output integer semantics;
- `X-Api-Key` authentication only;
- JSON request and response bodies;
- MIT license.

The SDK source code follows the Node package's MIT license. The exact contract snapshot retains its upstream `LicenseRef-Proprietary` metadata for the exposed API; it does not override the SDK source license. See [Licensing notice](NOTICE.md) for the remaining API-terms documentation follow-up.

This repository does not include the private MCP package from the Node workspace. It does not infer APIs or webhook verification behavior that are absent from the public contract.

Installation
------------

[](#installation)

After the package is published to Packagist:

```
composer require unifyport/sdk
```

The application must also provide a PSR-18 client and PSR-17 factories. One possible combination is:

```
composer require guzzlehttp/guzzle nyholm/psr7
```

Client initialization
---------------------

[](#client-initialization)

```
