{"repo":"mozex/anthropic-laravel","free":true,"listed":false,"github":"https://github.com/mozex/anthropic-laravel","clone":"git clone https://github.com/mozex/anthropic-laravel.git","description":"Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.","language":"PHP","stars":74,"topics":["anthropic","laravel","ai","api-client","claude","facades","generative-ai","llm","php","sdk"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Anthropic Laravel Laravel wrapper for Anthropic PHP, the community-maintained PHP SDK for the Anthropic API. Adds a Facade, a publishable config, an install command, and a testing integration that plugs into the service container. Read the full documentation at mozex.dev : searchable docs, version requirements, detailed changelog, and more. Not using Laravel? Use the framework-agnostic Anthropic PHP package directly. Table of Contents - Introduction - Usage - Messages - Streaming - Tool Use - Thinking - Server Tools - Citations - Token Counting - Models - Batches - Files - Completions - Reference - Configuration - Error Handling - Meta Information - Testing Support This Project I maintain this package along with several other open-source PHP packages used by thousands of developers every day. If my packages save you time or help your business, consider sponsoring my work on GitHub Sponsors . Your support lets me keep these packages updated, respond to issues quickly, and ship new features. Business sponsors get logo placement in package READMEs. See sponsorship tiers → Why This Package Anthropic:: Facade for everything. Anthropic::messages() , Anthropic::models() , Anthropic::batches() , Anthropic::files() , Anthropic::completions() . No client instantiation, no factory setup. The service provider handles it. Anthropic::fake() in your tests. Swap the real client with a fake, queue responses, and assert exactly which requests were sent. Pairs with Laravel's existing testing id","default_branch":null,"files":null,"tree":[],"storefront":"/r/mozex","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mozex/anthropic-laravel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}