Download the PHP package ahmadrosid/anthropic-php without Composer
On this page you can find all versions of the php package ahmadrosid/anthropic-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package anthropic-php
Anthropic PHP
Anthropic PHP is library to interact with Anthropic API, this library is designed to be close to OpenAI PHP. The goal of this library is to have the same API to OpenAI PHP client, so you can switch from GPT model to Claude easily.
Installation
Make sure you are using php: ^8.1.0.
How to use?
Create anthropic client.
Chat with Claude
Send chat message.
Chat Streaming
Process server sent event reply from chatbot.
LICENSE
MIT
All versions of anthropic-php with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1.0
The package ahmadrosid/anthropic-php contains the following files
Loading the files please wait ....