Skip to content

Update Claude PHP series to community SDK - #16

Draft
dalehurley wants to merge 8 commits into
mainfrom
cursor/update-claude-php-series-to-community-sdk-18f5
Draft

Update Claude PHP series to community SDK#16
dalehurley wants to merge 8 commits into
mainfrom
cursor/update-claude-php-series-to-community-sdk-18f5

Conversation

@dalehurley

Copy link
Copy Markdown
Owner

Migrate the 'Claude for PHP developers' series and code examples to use the community claude-php/Claude-PHP-SDK.

This update replaces the unmaintained official Anthropic PHP SDK with the actively developed claude-php/Claude-PHP-SDK, which offers full feature parity with the Python SDK. Key changes include updating Composer dependencies, client initialization, namespace usage, and response object access patterns across relevant chapters.


Open in Cursor Open in Web

cursoragent and others added 8 commits November 18, 2025 10:23
Co-authored-by: dale.hurley <dale.hurley@full.cx>
This commit updates the project to use the claude-php/claude-php-sdk instead of the anthropic-ai/sdk. This includes updating composer dependencies, namespaces, class names, and method calls. The SDK has been renamed and refactored to better align with PHP best practices.

Co-authored-by: dale.hurley <dale.hurley@full.cx>
This commit replaces all instances of "Anthropic" with "ClaudePhp" throughout the documentation and code examples. It also corrects minor syntax errors in client instantiation and exception handling.

Co-authored-by: dale.hurley <dale.hurley@full.cx>
This commit adds the complete agentic AI series, covering advanced patterns and frameworks.

Co-authored-by: dale.hurley <dale.hurley@full.cx>
Co-authored-by: dale.hurley <dale.hurley@full.cx>
Co-authored-by: dale.hurley <dale.hurley@full.cx>
Co-authored-by: dale.hurley <dale.hurley@full.cx>
Co-authored-by: dale.hurley <dale.hurley@full.cx>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants