Skip to content

anthropics/anthropic-sdk-php

Official

Access to Anthropic's safety-first language model APIs in PHP

156 stars46 forksPHPUpdated June 2026
✅ Reviewed by My AI Guide

Our Review

  • Full API support including streaming and structured outputs.
  • Type-safe with PHP classes for JSON schemas.
  • Easy Composer install and env-based keys.

Our Verdict

PHP SDK for Anthropic's safety-first Claude language model APIs. For PHP developers integrating LLMs into web apps. Official Anthropic support sets it apart from unofficial wrappers.

Frequently Asked Questions

Is anthropic-sdk-php the official PHP SDK for Claude?

Yes, anthropics/anthropic-sdk-php is the official PHP client providing access to Anthropic's safety-first language model APIs including Claude. PHP developers use it to integrate these secure LLMs into applications.

What is anthropic-sdk-php?

Access to Anthropic's safety-first language model APIs in PHP

How do I install anthropic-sdk-php?

Visit the GitHub repository at https://github.com/anthropics/anthropic-sdk-php for installation instructions.

What license does anthropic-sdk-php use?

anthropic-sdk-php uses the MIT license.

What are alternatives to anthropic-sdk-php?

Explore related tools and alternatives on My AI Guide.

🔒

Open source & community-verified

MIT licensed: free to use in any project, no strings attached. 156 developers have starred this, meaning the community has reviewed and trusted it.

Reviewed by My AI Guide for relevance, quality, and active maintenance before listing.

Topics

claudesdkphp

Related Tools

View all