Loading relationships inside a queued job
A practical guide to efficiently loading Eloquent relationships when serialising models in Laravel queued jobs and notifications, demonstrating how to convert arrays to collections for eager loading.
A practical guide to efficiently loading Eloquent relationships when serialising models in Laravel queued jobs and notifications, demonstrating how to convert arrays to collections for eager loading.
A tutorial on building an AI-powered Slack bot using the Laravel AI SDK, covering agent creation, webhook setup, and implementing a custom RAG-based memory system whilst maintaining control over your AI provider and data.
Learn how to use Laravel's password validation rule to generate HTML passwordrules attributes that help password managers suggest compliant passwords, improving user experience whilst maintaining security requirements.
Learn how to efficiently locate the commit that introduced a bug in your Laravel application by combining a focused Pest test with Git bisect's binary search algorithm, demonstrated through a practical shipping quote API example.
Discover Sidecar, an experimental Statamic tool that lets you edit Markdown files from static site generators through a beautiful Control Panel without importing content or disrupting your existing workflow. With drivers for LaraDocs, Jigsaw, VitePress, and HydePHP, it offers a third way between rebuilding in a CMS and having developers handle all content changes.
A great bit of fun here, how would you like to pit your website against another well Ryan has your back, hes developed an engaging interactive tool that compares two websites across six performance metrics including page weight, speed, domain age, and tracker count to determine which site is optimised for the web. Perfect for developers looking to benchmark their site's performance against competitors or learn best practices for building lean, fast websites.
Find out how Laravel Boost intelligently extracts and documents project conventions from existing codebases using AI agents, comparing deterministic approaches with more sophisticated skill-based extraction methods to help teams maintain their unique architectural decisions.
Michael guides us through how to ensure image uploads to S3-compatible object storage are served with the correct Content-Type headers, preventing browser rendering issues and caching problems. Includes PHP enum examples and implementation patterns for Laravel applications using Livewire and Nova.
Have you ever thought about using a car gear shifter to deploy your code to production or to run your tests and static analysis tools? Well in this video Christoph shows us how
This post covers common indexing mistakes in Laravel applications that quietly destroy performance, increase server costs, and frustrate users
Michael introduces us to Scout - the AI assistant for content editors. Just bring your own API key, and you can have the AI build your content into drafts or revisions
A practical walkthrough of migrating a Laravel application from Laravel Forge to Laravel Cloud, covering the key steps and considerations for a smooth transition between hosting platforms.
Sebastian Bergmann examines how modern PHP (8.5 and 8.6) measures up against consensus concepts in modern language design, exploring lexically scoped variables, closures, objects, pattern matching, and the language's extensibility for domain-specific needs.
A comprehensive series exploring common architectural challenges in Laravel codebases, from coupling and test suite performance to model responsibilities and code organisation. This practical guide helps developers identify and address the real issues behind difficult-to-change code.
A compelling story about how Laravel's field marketers built a photo-sharing application for Laracon US using Claude AI and Laravel, demonstrating that you don't need to be a developer to create real solutions with the right tools and framework structure.
The Laravel Debug bar has been a staple in the Laravel world for a longtime well now we have a new package and Povilas talks us through it.
You've been maintaining a PHP package or project for a while now, and you suddenly get a security vulnerability report sent to you. What do you need to do? Sebastian from the PHP Foundation has put together this helpful guide on what you should do next.
Static analysis is such an important part of your workflow running tools like PHPStan or Psalm is important to keep the quality of your codebase at a high level. If you've been using PHPStan you would have come across it's rules, but have you ever wondered how to create your own rules for PHPStan, well in this post Steven shows us how to by first picking a convention that is worth automating and taking it from there.
A comprehensive guide to Vue's reactivity watchers covering watch, watchEffect, and computed properties, with real-world examples of race conditions, anti-patterns, and practical guidance on when to use each tool versus when they're the wrong choice entirely.