Articles Laravel 13
TAG ARCHIVE

Everything on Laravel 13.

16 articles tagged Laravel 13, sorted newest first.

laravel

Laravel Job Middleware — Rate-Limit and Back Off Queued Jobs at the Job Level

Stop sprinkling RateLimiter::attempt() inside your job classes. Laravel job middleware wraps handle() with rate limits, back-off, and circuit breakers — here's the full pattern.

8 min read
laravel

Laravel AI SDK Structured Output — JSON Schema Enforcement for LLM Responses

Stop parsing markdown fences and stripping prose out of LLM replies. The Laravel AI SDK ships a HasStructuredOutput contract that forces the model to return JSON matching the schema you describe in PHP — and the same agent works across every supported provider.

9 min read
laravel

Laravel Scout + Typesense: A Production Guide to Typo-Tolerant, Faceted, and Vector Search

Devs reach for the Scout database driver, watch a LIKE query crawl on 200k rows, and realise they need a real engine. Here's the full Typesense path: async indexing, facets, hybrid vector search, and a Pest test suite.

16 min read
filament

Filament v4 Panel Multi-Tenancy with Teams: From Zero to Scoped Resources

How to wire team-based multi-tenancy into a Filament v4 panel in one panel provider call: without stancl/tenancy, without separate databases, without hand-rolling team_id scopes.

11 min read
filament

Filament v4: The Complete Guide from Zero to Production Dashboard

The end-to-end Filament v4 walkthrough: install the panel, ship resources, relation managers, custom actions, schemas, MFA, multi-tenancy, policies, tests, and a real production deploy: in one place.

15 min read
laravel

Laravel 13 Reverb Database Driver: WebSockets Without Redis

The Reverb database scaling driver lets you run real-time WebSockets on a single Laravel box without standing up Redis. Here's the production setup.

8 min read
laravel

Laravel Queue Chains vs Batches: When to Pick Which

Bus::chain and Bus::batch solve different queue problems. Here's the decision framework and the combinations I reach for in production.

10 min read
laravel-cloud

Laravel Cloud Serverless Postgres + pgvector: Five-Minute Setup

Laravel Cloud's Serverless Postgres ships with pgvector preinstalled and hibernates when idle. Here's the fastest path from 'I need vector search' to a working migration.

6 min read
laravel

Laravel 13 whereVectorSimilarTo(): Native Semantic Search in the Query Builder

Laravel 13's whereVectorSimilarTo() turns the query builder into a vector store. Plain strings in, ranked results out: no manual embedding pipeline.

9 min read
php

PHP Custom Attributes in Practice: Beyond Laravel's Built-ins

Laravel 13 ships dozens of built-in PHP attributes, but the docs are quiet on building your own. Here are the patterns I use in production for validation, auth, and auto-discovery.

10 min read
laravel

The Complete Guide to Laravel 13 Multi-Tenancy with Teams

Laravel 13 brings team-based multi-tenancy back into the official starter kits with URL-based context that fixes the old session-based problems. This guide walks through the full lifecycle: scaffolding teams, scoping every query, handling invitations, isolating queued jobs, and choosing between shared-database and database-per-tenant: with copy-paste-runnable code at every step.

18 min read
laravel

The Complete Guide to Laravel 13 JSON:API Resources

Laravel 13 ships first-party JSON:API resources that handle spec-compliant serialization, relationships, sparse fieldsets, and compound documents out of the box. This guide walks through building a complete API using the new JsonApiResource class: from first resource to production-hardened endpoints.

21 min read
laravel

Laravel 13 PHP Attributes: Cleaner Models, Jobs, and Commands

Laravel 13 ships opt-in PHP attribute syntax across 36+ framework locations. Here's what changed for models, jobs, and Artisan commands: with zero migration required.

6 min read
laravel

Clean Up Your Jobs Config With Laravel 13's Queue::route()

Laravel 13 adds Queue::route(): a single place in your service provider to declare which queue and connection every job class uses. Here's how it works.

6 min read
laravel

Upgrading From Laravel 12 to Laravel 13: The Practical Guide

The Laravel 13 upgrade is mostly painless: but three config areas will silently change how your app behaves if you skip them. Here's what actually changed and what's worth adopting.

7 min read
laravel

The Complete Guide to the Laravel AI SDK in Laravel 13

Laravel 13 ships a first-party AI SDK that replaces the patchwork of vendor SDKs and community packages. Here's how to use every capability: agents, streaming, structured output, tools, embeddings and RAG: in one working project.

17 min read