anthropics/anthropic-sdk-php
OfficialAccess to Anthropic's safety-first language model APIs in PHP
Best for
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.
Cons
- Limited to Claude models and Anthropic API.
- Requires PHP environment setup.
- Early version (0.8.0).
Our Verdict
Reliable PHP SDK for Claude integration—devs get streaming and structs out of the box.
Frequently Asked Questions
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.
Great for: Pro Vibe Builders
Skip if: You need something more beginner-friendly or guided
Open source & community-verified
MIT licensed — free to use in any project, no strings attached. 138 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