Download the PHP package joshfinlayau/laravel-anthropic-web without Composer
On this page you can find all versions of the php package joshfinlayau/laravel-anthropic-web. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download joshfinlayau/laravel-anthropic-web
More information about joshfinlayau/laravel-anthropic-web
Files in joshfinlayau/laravel-anthropic-web
Download joshfinlayau/laravel-anthropic-web
More information about joshfinlayau/laravel-anthropic-web
Files in joshfinlayau/laravel-anthropic-web
Vendor joshfinlayau
Package laravel-anthropic-web
Short Description Laravel client for Anthropic's Claude API with web search and fetch capabilities
License MIT
Package laravel-anthropic-web
Short Description Laravel client for Anthropic's Claude API with web search and fetch capabilities
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-anthropic-web
Laravel Anthropic Web
A Laravel package for Anthropic's Claude API with web search and fetch capabilities.
Features
This package supports Claude's web tools that other packages don't:
- Web search for current information
- Web fetch to analyze content from URLs
- Latest Claude models (Sonnet 4, Opus 4.1)
- JSON response formatting with schema validation
- Proper beta headers for new API features
Useful for applications requiring AI with real-time web data access.
Installation
Publish the config file:
Add your API key to .env:
Basic Usage
Simple Text Completion
Web Search
Web Fetch
Combined Web Tools
JSON Response Format
Advanced Usage
Custom Tool Configuration
Streaming Responses
Configuration
The config file allows you to set defaults:
Available Models
claude-opus-4-1-20250805(Most capable)claude-opus-4-20250514claude-sonnet-4-20250514(Recommended default)claude-3-7-sonnet-20250219claude-3-5-haiku-latest(Fastest)
Web Tools
Web Search Tool
Searches the internet for current information:
Web Fetch Tool
Fetches and analyzes specific web pages:
Error Handling
Requirements
- PHP 8.1+
- Laravel 9.0+
License
MIT
Contributing
Pull requests welcome. Please include tests for new features.
All versions of laravel-anthropic-web with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
illuminate/http Version ^9.0|^10.0|^11.0|^12.0
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
illuminate/http Version ^9.0|^10.0|^11.0|^12.0
guzzlehttp/guzzle Version ^7.0
The package joshfinlayau/laravel-anthropic-web contains the following files
Loading the files please wait ...