PHPackages                             sapcai/sdk-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. sapcai/sdk-php

AbandonedArchivedLibrary[API Development](/categories/api)

sapcai/sdk-php
==============

The official PHP SDK of SAP Conversational AI

4.0.0(7y ago)183818[2 PRs](https://github.com/SAPConversationalAI/SDK-PHP/pulls)MITPHPPHP ^5.3.3 || ^7.0

Since Oct 3Pushed 5y agoCompare

[ Source](https://github.com/SAPConversationalAI/SDK-PHP)[ Packagist](https://packagist.org/packages/sapcai/sdk-php)[ Docs](https://recast.ai)[ RSS](/packages/sapcai-sdk-php/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (4)Versions (14)Used By (0)

[![alt text](https://camo.githubusercontent.com/42c9e54407f9b15d9ac3d1a3e74f3f87aeececbac0d45acd01977d491efa4aec/68747470733a2f2f63646e2e6361692e746f6f6c732e7361702f6272616e642f7361706361692f7361702d6361692d626c61636b2e737667 "SAP Conversational AI")](https://camo.githubusercontent.com/42c9e54407f9b15d9ac3d1a3e74f3f87aeececbac0d45acd01977d491efa4aec/68747470733a2f2f63646e2e6361692e746f6f6c732e7361702f6272616e642f7361706361692f7361702d6361692d626c61636b2e737667)

SAP Conversational AI - SDK PHP
===============================

[](#sap-conversational-ai---sdk-php)

SAP Conversational AI official SDK in PHP

🚨 Sunset of Open Source SDKs for SAP Conversational AI
======================================================

[](#-sunset-of-open-source-sdks-for-sap-conversational-ai)

SAP Conversational AI provides several SDKs, which are all open-source and hosted on GitHub.
Starting from January 2021, please note that we inform you that the SDKs will not be available anymore and the public repository of the project will be archived from GitHub.

✨ Why are we sunsetting our SDKs?
---------------------------------

[](#-why-are-we-sunsetting-our-sdks)

Firstly, we noticed over the past year that these SDKs were not used much by our users.
This is because our platform usage has become easier, including the APIs.

Secondly, our APIs have undergone major changes. We would need to adapt the SDKs in order to keep them working, which will lead to a significant cost from our side.

Hence, we decided to sunset this open source version starting from January 2021.

✨ What does it mean for me as a user?
-------------------------------------

[](#-what-does-it-mean-for-me-as-a-user)

Any changes in our API’s will not be reflected in our SDKs. Hence, the code might not work unless you adjust the same.

✨ What are the next steps?
--------------------------

[](#-what-are-the-next-steps)

If you are interested in taking the ownership of the project on GitHub, please get in touch with us and we can discuss the process. Otherwise, if there are no objections from anyone, we would archive the project following the open source sunset process.

Please use the platform SAP Answers if you have any other questions related to this topic.

Happy bot building!

The SAP Conversational AI team

---

Synospis
--------

[](#synospis)

This module is a wrapper around the [SAP Conversational AI](https://cai.tools.sap) API, and allows you to:

- [Analyse your text](https://github.com/SAPConversationalAI/SDK-PHP/wiki/Analyse-text)
- [Manage your conversation](https://github.com/SAPConversationalAI/SDK-PHP/wiki/Manage-conversation)
- [Receive and send messages](https://github.com/SAPConversationalAI/SDK-PHP/wiki/Receive-and-send-messages)

Installation
------------

[](#installation)

Install the package using npm, as shown below:

```
composer require sapcai/sdk-php
```

You can now use the SDK in your code. All you need is your bot's token. In case you have enabled our versioning feature in the settings of your bot, you can refer to our [versioning documentation](https://cai.tools.sap/docs/concepts/versioning) to learn how to select the appropriate token for you versions and environments.

Using the entire SDK:

```
