mohamed-ashraf-elsaed/claude-agent-sdk-laravel
13 stars · Last commit 2026-03-18
Anthropic Claude Agent SDK for PHP & Laravel — build AI agents with tool use, sandboxing, MCP servers, subagents, hooks, and structured output via the Claude Code CLI
README preview
# Claude Agent SDK for Laravel [](https://github.com/mohamed-ashraf-elsaed/claude-agent-sdk-laravel/actions) [](https://packagist.org/packages/mohamed-ashraf-elsaed/claude-agent-sdk-laravel) [](https://packagist.org/packages/mohamed-ashraf-elsaed/claude-agent-sdk-laravel) [](https://packagist.org/packages/mohamed-ashraf-elsaed/claude-agent-sdk-laravel) [](https://laravel.com) [](LICENSE) Build AI agents with Claude Code as a library in your Laravel applications. This SDK wraps the Claude Code CLI to give your app access to file operations, bash commands, code editing, web search, subagents, and more. ## Requirements - PHP 8.1+ - Laravel 10, 11, or 12 - Claude Code CLI (`npm install -g @anthropic-ai/claude-code`) - Anthropic API key ## Installation ```bash