Laravel Tutorials

Tutorials on everything from getting started with Laravel, to expert topics, and everything in between.

Laravel MongoDB Full-Text Search tutorial: The Art of the Relevancy image

Laravel MongoDB Full-Text Search tutorial: The Art of the Relevancy

Laravel tutorial for full-text search with MongoDB Search: BM25 indexing, relevancy scoring, and field weighting to tune result quality.

Read article
Ship AI with Laravel: Real-Time Streaming Chat UI with Livewire image

Ship AI with Laravel: Real-Time Streaming Chat UI with Livewire

The agent's been talking to us through JSON. In this episode we build a real-time chat widget with Livewire, Alpine, and server-sent events so respons...

Read article
Ship AI with Laravel: Search Entire PDFs with Zero Search Logic image

Ship AI with Laravel: Search Entire PDFs with Zero Search Logic

Last episode we built semantic search from scratch. This time we let the AI provider host the vector store and handle the search. Upload PDFs, full po...

Read article
Personalized Content Delivery System: Building an AI-powered recommendation engine with Laravel and MongoDB image

Personalized Content Delivery System: Building an AI-powered recommendation engine with Laravel and MongoDB

Build an AI-powered content recommendation engine in Laravel using MongoDB Atlas Vector Search and Hugging Face embeddings to suggest related blog pos...

Read article
Ship AI with Laravel: RAG with Embeddings and pgvector in Laravel 13 image

Ship AI with Laravel: RAG with Embeddings and pgvector in Laravel 13

Your agent looks up orders and remembers conversations but invents policies when customers ask about returns or shipping. In this episode we build a s...

Read article
Build Custom Middleware for Query Performance Monitoring and Optimization in Laravel with MongoDB image

Build Custom Middleware for Query Performance Monitoring and Optimization in Laravel with MongoDB

Learn how to build a lightweight query performance monitoring system using Laravel middleware and MongoDB's PHP driver command subscriber to track slo...

Read article
Ship AI with Laravel: Your AI Agent Has Amnesia. Let's Fix It. image

Ship AI with Laravel: Your AI Agent Has Amnesia. Let's Fix It.

Your agent looks up orders and pulls customer history but forgets everything between messages. Ask about order 1042, follow up with "can I return it?"...

Read article
Ship AI with Laravel: Stop Your AI Agent from Guessing image

Ship AI with Laravel: Stop Your AI Agent from Guessing

Your support agent talks, classifies tickets, but when a customer asks "where's my order?" it makes something up. In this episode we give the agent to...

Read article
Making Laravel MongoDB Operations Idempotent: Safe Retries for Financial Transactions image

Making Laravel MongoDB Operations Idempotent: Safe Retries for Financial Transactions

Learn how to implement idempotency in your Laravel MongoDB application to make checkout operations safe to retry, preventing duplicate charges and ens...

Read article
Ship AI with Laravel: Smart Ticket Triage with Structured Output image

Ship AI with Laravel: Smart Ticket Triage with Structured Output

Your support agent can talk, but it responds in prose. You can't route a ticket or track sentiment from a paragraph. In this episode we build a Ticket...

Read article
Build an AI Chat Agent with Laravel 12, MongoDB Atlas Vector Search, and Voyage AI image

Build an AI Chat Agent with Laravel 12, MongoDB Atlas Vector Search, and Voyage AI

Learn how to build a RAG-powered AI chat agent using Laravel 12, the Laravel AI SDK, Voyage AI embeddings, and MongoDB Atlas Vector Search to enable s...

Read article
Building Transaction-Safe Multi-Document Operations in Laravel image

Building Transaction-Safe Multi-Document Operations in Laravel

Learn how to use MongoDB's multi-document ACID transactions in Laravel to ensure data consistency across collections when atomic operations aren't eno...

Read article
Ship AI with Laravel: Building Your First Agent with Laravel 13's AI SDK image

Ship AI with Laravel: Building Your First Agent with Laravel 13's AI SDK

Laravel 13 ships with a first-party AI SDK. In the first episode of Ship AI with Laravel we install it, scaffold a support agent, and get it respondin...

Read article
Detecting and Fixing Race Conditions in Laravel Applications image

Detecting and Fixing Race Conditions in Laravel Applications

Learn how to identify race conditions in your Laravel MongoDB applications and fix them using atomic operations

Read article
MongoDB Vector Search in Laravel: Finding the Unqueryable image

MongoDB Vector Search in Laravel: Finding the Unqueryable

Learn how to implement MongoDB Vector Search in Laravel to find results by semantic meaning instead of keyword matching, using Voyage AI embeddings an...

Read article
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
The Certification of Competence for Laravel logo

The Certification of Competence for Laravel

A community-driven, proctored assessment across 4 levels designed to validate real-world Laravel knowledge, from Junior to mastery-level Artisan. Official Vue.js, Official Nuxt, Angular, React, JS certifications also available.

The Certification of Competence for Laravel
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
Statamic logo

Statamic

The drop-in ready Laravel CMS you’re been waiting for. Go full-stack or headless, flat file or database – it’s up to you.

Statamic
LoadForge logo

LoadForge

Scalable load testing for web apps & APIs. Simulate real-world traffic and identify breaking points and performance limits with powerful, scalable load tests designed for Laravel.

LoadForge