Video
Description
Package for integrating Large Language Models (LLMs) into your AI applications.
Here's a quick example of how you can generate text using Prism:
use Prism\Prism\Facades\Prism;use Prism\Prism\Enums\Provider; $response = Prism::text() ->using(Provider::Anthropic, 'claude-3-7-sonnet-latest') ->withSystemPrompt(view('prompts.system')) ->withPrompt('Explain quantum computing to a 5-year-old.') ->asText(); echo $response->text;
Related Content on Laravel Daily
Recent Courses on Laravel Daily
AI Agents/IDEs for Laravel: May 2026 (Claude Code, Codex, OpenCode, etc)
7 lessons
52 min
How to Build Laravel 13 API From Scratch
30 lessons
1 h 23 min
How to Structure Laravel 13 Projects
16 lessons
1 h 32 min read