PHPackages                             commscenter/comms-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. commscenter/comms-php-sdk

ActiveLibrary[API Development](/categories/api)

commscenter/comms-php-sdk
=========================

PHP API for Comms ecommerce system

1676PHP

Since Nov 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/CommsCenter/Comms-PHP-SDK)[ Packagist](https://packagist.org/packages/commscenter/comms-php-sdk)[ RSS](/packages/commscenter-comms-php-sdk/feed)WikiDiscussions next-8.0 Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Comms PHP SDK
=============

[](#comms-php-sdk)

Comms PHP SDK is a tool which can help you manage data in your Comms store.

Usage
=====

[](#usage)

Pckg framework
--------------

[](#pckg-framework)

Register default Provider `\CommsCenter\Provider\Comms` so the `Api` service will be resolved automatically.

`use \CommsCenter\Provider\Comms // ... public function providers() { return [ // ... Comms::class, ]; } // ... $api = resolve(\CommsCenter\Comms\Api::class); `

Standalone usage
----------------

[](#standalone-usage)

Instantiate new `\CommsCenter\Comms\Api` and provide `$endpoint` and `$apiKey`.

`$api = new \CommsCenter\Comms\Api::class`

Endpoints
=========

[](#endpoints)

Browse /api/http-ql/definition to see the list of available entities, fields and actions.

Offers
------

[](#offers)

`$offers = $api->offers()->getQuery()->where('dt_published', new Date(), '>=')->all(); $newOffer = $api->offers()->create(['title' => 'My new offer']); $api->offers()->where('id', 5)->one()->getQuery()->set('dt_published', new Date())->save();`

More
====

[](#more)

See comms-js-sdk for more examples with JS.

import {offers} from "comms-js-sdk/entity/offers"; let allOffers = offers.all();

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

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/b94b3bcec679374372be12374d132c7852fcabf1cc6339763d81a63e384b74f3?d=identicon)[schtr4jh](/maintainers/schtr4jh)

---

Top Contributors

[![schtr4jh](https://avatars.githubusercontent.com/u/385801?v=4)](https://github.com/schtr4jh "schtr4jh (9 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/commscenter-comms-php-sdk/health.svg)](https://phpackages.com/packages/commscenter-comms-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.9M272](/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)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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