PHP client SDK for Rapida platform APIs (client operations only, no agent stream/WebRTC in this package).
composer require rapidaai/php<?php
require 'vendor/autoload.php';
use Rapida\Config\ConnectionConfig;
use Rapida\Rapida;
$config = ConnectionConfig::default(
ConnectionConfig::withSdk('YOUR_API_KEY', 'user-123')
);
$sdk = new Rapida($config);
// Example: call assistant get-all RPC
// $request = new Rapida\Clients\Protos\GetAllAssistantRequest();
// $response = $sdk->assistants()->getAll($request);AssistantClientAuthClientEndpointClientInvokeClientCallClientTalkClient(unary metrics/listing only)KnowledgeClientProjectClientOrganizationClientVaultClientConnectClientActivityClientDocumentClientNotificationClientBillingClientTelemetryClient
Artifacts are generated from proto files under src/Clients/Protos/Artifacts.
bash ./bin/artifacts-generate.shRequirements:
protocgrpc_php_plugin
Publishing is handled in .github/workflows/php-build.yml:
- run tests on push/PR
- create version tag from
version.txt - create GitHub Release
- trigger Packagist update (if
PACKAGIST_USERNAMEandPACKAGIST_TOKENare configured)
- This SDK is intentionally scoped to client unary APIs.
- Streaming APIs (agent stream/WebRTC) are out of scope in this package.