Coding Tutorials

Hands-on Laravel tutorials that build something complete — a chatbot, a streaming interface, a search implementation — with production-grade code you can adapt directly into your own application. No toy examples, no setup-and-stop.

Each tutorial is self-contained but connects to the broader architecture and foundations content across the site.

If the Guides section is where you learn the decision, this is where you see it built

Laravel Scout Meilisearch

Instant Search in Laravel: Implementing Laravel Scout and Meilisearch

SQL LIKE queries collapse under load — they can’t handle typos, don’t understand relevance, and punish your database on every keystroke. This guide shows you how to implement blazing-fast, typo-tolerant instant search in Laravel 11/12 using Laravel Scout and Meilisearch, from Docker setup through production deployment.

Instant Search in Laravel: Implementing Laravel Scout and Meilisearch Read More »

laravel agentic workflow schema validation

Hardening Laravel Agentic Workflows: Schema Validation Against LLM Hallucinations

LLM outputs are probabilistic by nature — they hallucinate field names, drop required keys, and produce structurally valid JSON that still violates your business rules. This guide shows you how to architect schema-gated Laravel pipelines that enforce machine-verifiable contracts at every agent boundary, turning unreliable model output into production-grade workflow execution.

Hardening Laravel Agentic Workflows: Schema Validation Against LLM Hallucinations Read More »

laravel boost mcp server

Integrating Laravel Boost into Your Development Workflow

AI coding agents write bad Laravel code not because they lack capability, but because they lack context — they cannot see your schema, your routes, or your installed package versions. Laravel Boost is the official MCP server from the Laravel team that closes that gap, giving agents live, structured access to your running application.

Integrating Laravel Boost into Your Development Workflow Read More »

laravel livewire claude api

Laravel Livewire Claude API: Real-Time AI Chat Without JavaScript Frameworks

Most developers assume real-time AI chat requires a JavaScript framework. This tutorial proves otherwise — building a fully functional Claude-powered chat interface using only Laravel Livewire, with database-backed conversation memory and zero client-side state management.

Laravel Livewire Claude API: Real-Time AI Chat Without JavaScript Frameworks Read More »

laravel claude streaming chatbot

Building a Claude API Chatbot in Laravel: Complete Integration Guide With Streaming Responses

Most Laravel AI tutorials hand you a blocking Http::post() call and a Blade view that spins for five seconds. That is not a chatbot, it is a loading screen. This guide builds a production-ready Claude-powered chatbot with real SSE streaming, database-backed conversation memory, and a properly wired Service Container binding that holds up under real concurrency.

Building a Claude API Chatbot in Laravel: Complete Integration Guide With Streaming Responses Read More »

Laravel Claude chatbot conversation memory

Building a Laravel Claude Chatbot With Conversation Memory

Most Laravel AI chatbot tutorials hand you a working Http::post() call and leave the hard part — conversation memory — as an exercise for the reader. This guide builds a production-ready Claude chatbot in Laravel 11/12 with Eloquent-backed message history, token-aware pruning, a dedicated Service class, and retry logic that actually holds up under load.

Building a Laravel Claude Chatbot With Conversation Memory Read More »

laravel llm inference control

Laravel LLM Inference Control: Prompt Execution, Parameters, and Output Validation Explained

Most Laravel developers treat AI API calls like HTTP requests — fire and forget. This guide exposes what actually happens at inference time, and shows you how to architect temperature, top-p, token limits, and output validation directly into your Laravel service layer before you ship a single AI feature to production.

Laravel LLM Inference Control: Prompt Execution, Parameters, and Output Validation Explained Read More »

Scroll to Top