{"id":27657160,"url":"https://github.com/sendbird/sendbird-platform-sdk-php","last_synced_at":"2025-04-24T06:55:03.081Z","repository":{"id":59910748,"uuid":"447987619","full_name":"sendbird/sendbird-platform-sdk-php","owner":"sendbird","description":"Sendbird PHP SDK for the server to server API","archived":false,"fork":false,"pushed_at":"2023-06-20T03:10:00.000Z","size":2506,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":23,"default_branch":"main","last_synced_at":"2025-04-24T06:54:58.763Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sendbird.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-14T14:03:08.000Z","updated_at":"2024-12-10T13:33:31.000Z","dependencies_parsed_at":"2023-01-22T15:00:52.366Z","dependency_job_id":null,"html_url":"https://github.com/sendbird/sendbird-platform-sdk-php","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendbird%2Fsendbird-platform-sdk-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendbird%2Fsendbird-platform-sdk-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendbird%2Fsendbird-platform-sdk-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendbird%2Fsendbird-platform-sdk-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sendbird","download_url":"https://codeload.github.com/sendbird/sendbird-platform-sdk-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250580702,"owners_count":21453531,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-24T06:55:02.557Z","updated_at":"2025-04-24T06:55:03.072Z","avatar_url":"https://github.com/sendbird.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Sendbird banner image](http://ww1.prweb.com/prfiles/2021/09/14/18371217/Sendbird_Logo_RGB_lg.png)\n\n# [Sendbird PHP Platform SDK](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api)\n\n[![link to docs](https://img.shields.io/badge/SDK-docs-green)](/docs)\nThis is a SDK written for PHP  that makes talking to the [Sendbird Platform API](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) easier.\nWith this library you can extend your Sendbird integration to include advanced features like message-, and channel automation, user management, create user authentication tokens, and create bots.\n\n# 🔥 Quick start\n\n```php  \n\u003c?php\nrequire_once('/PATH_TO/sendbird-platform-sdk-php/vendor/autoload.php');\n$config = \\Sendbird\\Configuration::getDefaultConfiguration();\n\n$api_token = 'MASTER_API_TOKEN_FROM_DASHBOARD';\n$config-\u003esetHost(\"API_REQUEST_URL_FROM_DASHBOARD\");\n\n$apiInstance = new Sendbird\\Api\\UserApi(\n    new GuzzleHttp\\Client(),\n    $config\n);\n\n$list_users_params['api_token'] = $api_token;\n\ntry {\n    $result = $apiInstance-\u003elistUsers($list_users_params);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling listUsers: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n```\n\n# ⚠️ Warnings\n\nThis package is not currently published. Please see  the Local development section for installation instructions.\n\n# ⚒️ Prerequisite\n\nIn order to make requests with this SDK you will need you master API token. This can be found through the [Sendbird dashboard](https://dashboard.sendbird.com/).  Each app you create in Sendbird has its own master api token. These tokens can be found in Settings \u003e Application \u003e General.\n![how to find you api token](https://i.imgur.com/0YMKtpX.png)\n\n# 💻 Requirements\n\nYou will need [PHP](https://www.php.net/) installed. This has been developed and tested with PHP 7.3 and later.\n\n### Composer\n\nTo install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:\n\n```json\n{\n  \"repositories\": [\n    {\n      \"type\": \"vcs\",\n      \"url\": \"https://github.com/sendbird/sendbird-platform-sdk-php.git\"\n    }\n  ],\n  \"require\": {\n    \"sendbird/sendbird-platform-sdk-php\": \"*@dev\"\n  }\n}\n```\n\nThen run `composer install`\n\n### Manual Installation\n\n1. Clone this repository, run `composer install` in the `sendbird-platform-sdk` directory\n2. Include `autoload.php` in your project\n\n```php\n\u003c?php\nrequire_once('/path/to/sendbird-platform-sdk/vendor/autoload.php');\n```\n\n##### Helpful links\n\n|       | Documentation |\n| ----------- | ----------- |\n| Announcement   | [docs/Api/AnnouncementApi.md](docs/Api/AnnouncementApi.md)|\n| Application | [docs/Api/ApplicationApi.md](docs/Api/ApplicationApi.md)  |\n| Bot | [docs/Api/BotApi.md](docs/Api/BotApi.md)  |\n| GroupChannel | [docs/Api/GroupChannelApi.md](docs/Api/GroupChannelApi.md)  |\n| OpenChannel | [docs/Api/OpenChannelApi.md ](docs/Api/OpenChannelApi.md)  |\n| Message | [docs/Api/MessageApi.md](docs/Api/MessageApi.md)  |\n| User | [docs/Api/UserApi.md](docs/Api/UserApi.md)  |\n| Webhooks | [docs/Api/WebhooksApi.md](docs/Api/WebhooksApi.md)  |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsendbird%2Fsendbird-platform-sdk-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsendbird%2Fsendbird-platform-sdk-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsendbird%2Fsendbird-platform-sdk-php/lists"}