PHPackages                             openstay/channel-manager-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. openstay/channel-manager-sdk

ActiveLibrary[API Development](/categories/api)

openstay/channel-manager-sdk
============================

Public SDK for connecting channel managers with the OpenStay PMS

017PHPCI passing

Since Apr 11Pushed 1mo agoCompare

[ Source](https://github.com/openstay-pms/channel-manager-sdk)[ Packagist](https://packagist.org/packages/openstay/channel-manager-sdk)[ RSS](/packages/openstay-channel-manager-sdk/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

OpenStay Channel Manager SDK
============================

[](#openstay-channel-manager-sdk)

`openstay/channel-manager-sdk` is the public PHP SDK shared by OpenStay PMS and external connector implementations.

It provides the DTOs and repository abstractions used to exchange listings, availability, prices, bookings, and status updates between `openstay-pms-oss` and independent connector services.

**Packagist:**

Documentation
-------------

[](#documentation)

- [Channel manager API contract](docs/channel-manager-api.md)
- [OpenAPI description](docs/openapi.yaml)

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

[](#installation)

Until the first stable tag is released, install the development branch:

```
composer require openstay/channel-manager-sdk:dev-main
```

Namespaces
----------

[](#namespaces)

- `Api\` for channel-facing DTOs and repositories
- `PMSApi\` for PMS-facing response contracts

What the SDK covers
-------------------

[](#what-the-sdk-covers)

- listing creation and retrieval contracts
- availability and price synchronization
- listing status actions such as publish, force update, deactivate, cancellation-policy sync, and photo sync
- booking lookup, booking list polling, and booking actions such as accept, reject, and cancel

Compatibility note
------------------

[](#compatibility-note)

The SDK exposes `BookingDTO::getNetRevenue()` and `BookingDTO::setNetRevenue()` as the neutral API for booking net revenue.

For backwards compatibility during migration, the legacy aliases below still exist:

- `BookingDTO::getPayoutAmount()`
- `BookingDTO::setPayoutAmount()`

New integrations should use the `netRevenue` naming.

Running tests
-------------

[](#running-tests)

```
composer install
composer test
```

GitHub Actions runs PHPUnit on pushes and pull requests.

Publishing
----------

[](#publishing)

1. Push changes to the GitHub repository.
2. Create a tag when you want a stable release.
3. Update Packagist if auto-sync is not enabled.

Purpose in the OpenStay architecture
------------------------------------

[](#purpose-in-the-openstay-architecture)

- `openstay-pms-oss` depends on this package.
- private or third-party connector implementations should target this package instead of coupling directly to PMS internals.
- the package is intentionally neutral so multiple connector implementations can reuse the same contract.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance58

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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://www.gravatar.com/avatar/ffe7682e82febe1cb9f9f0132bc33d6ff7f9bac3b8c5cb9330c009499b42575f?d=identicon)[davicat1109](/maintainers/davicat1109)

---

Top Contributors

[![David-Domenech-Pereira](https://avatars.githubusercontent.com/u/125575416?v=4)](https://github.com/David-Domenech-Pereira "David-Domenech-Pereira (5 commits)")

### Embed Badge

![Health badge](/badges/openstay-channel-manager-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/openstay-channel-manager-sdk/health.svg)](https://phpackages.com/packages/openstay-channel-manager-sdk)
```

###  Alternatives

[facebook/php-business-sdk

PHP SDK for Facebook Business

90923.5M35](/packages/facebook-php-business-sdk)[exsyst/swagger

A php library to manipulate Swagger specifications

35916.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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