Laravel Cloud is here! Zero-config managed infrastructure for Laravel apps. Deploy now.

Laravel Tutorials

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

Cube

The Web Search API for Your LLM and AI Applications

Visit SerpApi
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
Handling Large Datasets with Pagination and Cursors in Laravel MongoDB image

Handling Large Datasets with Pagination and Cursors in Laravel MongoDB

Learn the difference between offset and cursor pagination in Laravel with MongoDB. Explore performance trade-offs, implementation examples, and when t...

Read article
Why Your Livewire Dashboard Jumps (And How to Fix It) - Laravel In Practice EP18 image

Why Your Livewire Dashboard Jumps (And How to Fix It) - Laravel In Practice EP18

Your real-time dashboard updates, but every new order makes the whole page jump. In this episode, I show you how to combine Livewire's skipRender with...

Read article
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
PhpStorm logo

PhpStorm

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

PhpStorm
SerpApi logo

SerpApi

Access real-time search engine results through a simple API—no more scraping headaches! Use it for AI applications, SEO tools, product research, travel information, and more

SerpApi
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
Blastup logo

Blastup

Blastup provides social media enhancement services including buying Instagram likes, followers, and views, with features like instant delivery and a variety of packages to suit different needs.

Blastup
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