From aa0b15ff7791192bdc64cd5e7add5f55bb082451 Mon Sep 17 00:00:00 2001 From: drkjc Date: Tue, 27 Oct 2026 10:28:37 -0400 Subject: [PATCH 1/3] docs: date the 1.0.0 changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f022632..0b4fa7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 1.0.0 (unreleased) +## 1.0.0 (2026-10-27) First release as `spreedly/composer-sdk-server`. If you're upgrading from `dodgeball/dodgeball-sdk-server`, read **Changed** and **Removed**. From 0ae13269e0bf5e8e18a2c6af2c5ef3c1000130da Mon Sep 17 00:00:00 2001 From: drkjc Date: Tue, 27 Oct 2026 10:28:44 -0400 Subject: [PATCH 2/3] docs: install from Packagist --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0263357..3836f80 100644 --- a/README.md +++ b/README.md @@ -36,11 +36,10 @@ Check out the [Client SDK](https://npmjs.com/package/@dodgeball/trust-sdk-client ## Installation -The package isn't on Packagist yet. Use `composer` to install the Composer SDK from GitHub: +Use `composer` to install the Composer SDK: ```sh -composer config repositories.composer-sdk-server vcs https://github.com/spreedly/composer-sdk-server-php -composer require spreedly/composer-sdk-server:dev-main +composer require spreedly/composer-sdk-server ``` ## Usage From c582e9330dde26e16ab873c61bc88ae8921f8842 Mon Sep 17 00:00:00 2001 From: drkjc Date: Tue, 27 Oct 2026 10:28:52 -0400 Subject: [PATCH 3/3] docs: link to the new client SDK package --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3836f80..695d01b 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ The Composer Server SDK for PHP makes integration with the Composer API easy and ## Related -Check out the [Client SDK](https://npmjs.com/package/@dodgeball/trust-sdk-client) for how to integrate Composer into your frontend applications. +Check out the [Client SDK](https://www.npmjs.com/package/@spreedly/composer-sdk-client) for how to integrate Composer into your frontend applications. [Composer examples](https://github.com/spreedly/composer-examples) has a runnable example server for this SDK in `server/php`, and a web client that calls it. @@ -213,7 +213,7 @@ The SDK logs through PHP's `error_log()`. At the default `INFO` level it writes | Parameter | Required | Description | | --- | --- | --- | -| `sourceToken` | Either this or `sessionId` | A token representing the device making the request. Obtained from the [Client SDK](https://npmjs.com/package/@dodgeball/trust-sdk-client). | +| `sourceToken` | Either this or `sessionId` | A token representing the device making the request. Obtained from the [Client SDK](https://www.npmjs.com/package/@spreedly/composer-sdk-client). | | `sessionId` | Either this or `sourceToken` | The current session ID of the request. | | `userId` | No | The ID of the user in your database, once you know it (for example, after registration). | | `useVerificationId` | No | `checkpoint` only. The ID of a verification the user already completed. See [useVerification](#useverification). |