jordandalton/anthropic-sdk-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jordandalton/anthropic-sdk-php

最新稳定版本:1.0.4

Composer 安装命令:

composer require jordandalton/anthropic-sdk-php

包简介

This is my package anthropic-sdk-php

README 文档

README

Introduction The Anthropic PHP SDK provides an easy way to integrate with Anthropic's services from PHP applications. This SDK handles authentication, requests, and responses when communicating with Anthropic's API.

API KEY

https://console.anthropic.com/account/keys

Installation

Install the SDK using Composer:

composer require jordandalton/anthropic-sdk-php

Usage Initialize the SDK:

use use JordanDalton\AnthropicSdkPhp\AnthropicConnector;

AnthropicConnector::make('YOUR-API-KEY')
    ->completions()
    ->create("\n\nHuman:What is today?\n\nAssistant:);

Documentation

See the Anthropic API documentation for more information on available endpoints.

Contributing

See CONTRIBUTING.md for information on contributing to the SDK.

License

The Anthropic PHP SDK is licensed under the MIT license. See LICENSE for more information.

Let me know if you would like me to expand on any of those sections or provide more specifics! The key things to cover are installation, basic usage, linking to documentation, licensing, and contribution guidelines.

统计信息

  • 总下载量: 83
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-19