diff --git a/README.md b/README.md index f637826..28848b6 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,31 @@ Install via Composer: composer require getstream/getstream-php ``` +## Current version + +**v13** is the current major version of `getstream/getstream-php`. The latest release is on the [releases page](https://github.com/GetStream/getstream-php/releases). Docs: [Chat](https://getstream.io/chat/docs/php/), [Video](https://getstream.io/video/docs/api/), [Feeds](https://getstream.io/activity-feeds/docs/php/) and [Moderation](https://getstream.io/moderation/docs/php/). + +## Build with AI coding agents + +Stream's [agent skills](https://getstream.io/agent-skills/docs/installation/) give AI coding agents such as Claude Code, Cursor and Codex current knowledge of Stream's SDKs and docs. Install the Stream CLI and the skills: + +```bash +curl -fsSL https://getstream.io/cli.sh | bash +getstream init +``` + +Then ask the `/stream` skill, for example: + +``` +/stream how do I create a user token with the PHP SDK? +``` + +To let your agent look up Stream API endpoints and query your Stream apps, add [Stream's MCP server](https://getstream.io/cli/docs/mcp/). In Claude Code: + +```bash +claude mcp add --transport http stream https://mcp.getstream.io/mcp +``` + ## Upgrading from v12? See [v12 → v13](MIGRATION_v12_to_v13.md). HTTP JSON is unchanged. `getActivity`, campaign responses, and the new enum constants changed. Property types stay `string`. @@ -18,6 +43,8 @@ See [v12 → v13](MIGRATION_v12_to_v13.md). HTTP JSON is unchanged. `getActivity If you are currently using [`stream-chat-php`](https://github.com/GetStream/stream-chat-php), we have a detailed migration guide with side-by-side code examples for common Chat use cases. See the [Migration Guide](docs/migration-from-stream-chat-php/README.md). +✨ With an AI coding agent, the `/stream-backend` skill ports your integration call by call: it inventories every legacy call site, keeps behavior identical where it can, and lists by file and line the calls that change or need your decision, for you to review before you ship. It comes with the [agent skills](#build-with-ai-coding-agents). See [stream-backend](https://github.com/GetStream/agent-skills/tree/main/skills/stream-backend). + ## Configuration Copy `.env.example` to `.env` and configure: