1.5.0
What's Changed
Added
Laravel Boost skill
- Ship a Laravel Boost skill at
resources/boost/skills/anthropic-laravel/SKILL.mdso AI coding assistants pick up package conventions automatically when working in a Laravel project. Activates on any mention of theAnthropicfacade, the underlying SDK classes, or Claude-related work. - Covers the full surface: messages, streaming, tool use, extended thinking, web search, code execution, citations, batches, token counting, models, testing with
Anthropic::fake(), and error handling with the queue-retry pattern. - Calls out the five gotchas that actually cause bugs: inconsistent property casing across DTOs, the
caller?->type === 'direct'filter required in tool dispatchers,pause_turnresume semantics, refusal responses arriving with HTTP 200, and mid-stream errors throwing after the response started. - Designed for progressive disclosure: keeps Laravel patterns and pitfalls in full, defers exhaustive reference material to Context7 (
/mozex/anthropic-laravel,/mozex/anthropic-php) or direct fetches from the docs site, both of which serve markdown for AI agents.
Documentation site
- Ship the full documentation at mozex.dev/docs/anthropic-laravel/v1 with dedicated pages for every feature: introduction, configuration, messages, streaming, tool use, thinking, server tools, citations, token counting, models, batches, completions, meta information, error handling, and testing.
- Every page leads with Laravel-idiomatic examples: Facade calls,
ShouldQueuejobs,Cache::rememberfor the model list,Storage::diskfor vision and PDF citations, broadcasting from streamed responses, scheduled commands for batch polling, andbootstrap/app.phpreportable()callbacks for silencing overload errors. - Each page links back to the matching page in the PHP SDK docs for deeper schema reference, so the Laravel docs stay focused on the 80% Laravel path without duplicating SDK material.
Improved
- Bump
mozex/anthropic-phpto^1.5.0. All API additions land transparently through theAnthropicfacade: thecallerobject on tool blocks,container_uploadblocks,stop_detailson refusals, the typed modelcapabilitiestree,inferenceGeoon usage, and Priority Tier rate-limit headers as typed properties onMetaInformation. See the PHP 1.5.0 release notes for the full feature list.
Full Changelog: 1.4.0...1.5.0