flowsell / connect
Official PHP SDK for FlowSell Connect wrapper APIs.
v0.1.0
2026-06-06 03:37 UTC
Requires
- php: >=8.1
- ext-curl: *
- ext-json: *
README
Official PHP SDK for FlowSell Connect wrapper APIs.
FlowSell Connect exposes one developer interface for messaging channels. WhatsApp is live first; future channels will use the same message contract.
- Package: https://packagist.org/packages/flowsell/connect
- Repository: https://github.com/flowsell-connect/flowsell-connect-php-sdk
- Documentation: https://connect.flowsell.app/sdk
Install
composer require flowsell/connect
Configure
FLOWSELL_API_KEY=fsc_your_secret FLOWSELL_API_BASE_URL=https://cmwhd2hdarqpip3krnua6ep3le0qhstm.lambda-url.ap-south-1.on.aws FLOWSELL_PHONE_NUMBER_ID=1131858666672190
Send A Message
<?php use FlowSell\Connect\FlowSell; $client = new FlowSell(apiKey: getenv('FLOWSELL_API_KEY')); $client->messages->send([ 'channel' => 'whatsapp', 'phoneNumberId' => getenv('FLOWSELL_PHONE_NUMBER_ID'), 'to' => '+919999999999', 'message' => 'Hello from FlowSell Connect', ]);
Send A Template
$client->messages->sendTemplate([ 'channel' => 'whatsapp', 'phoneNumberId' => getenv('FLOWSELL_PHONE_NUMBER_ID'), 'to' => '+919999999999', 'template' => 'order_update', 'variables' => [ 'customer_name' => 'John', 'order_id' => '#1234', ], ]);
Supported Namespaces
$client->messages->send([...])$client->messages->sendText([...])$client->messages->sendTemplate([...])$client->templates->create([...])$client->templates->list([...])$client->templates->get('order_update')$client->templates->delete([...])$client->media->upload([...])$client->media->list([...])$client->usage->get()
Provider URLs, access tokens, WABA IDs, and template components stay inside FlowSell Connect.