
Laravel News Podcast Local errors, pretty PHP, and terminal UIs
Oct 2, 2025
Discover the latest Laravel updates, including a revamped local error page and the new session-based cache driver. Dive into Inertia's infinite scroll feature and the groundbreaking Laravel MCP for AI integrations. Learn about PrettyPHP, a fast code formatter, and explore the utility toolkit, LaraUtilX. Get insights on LaraDumps for real-time debugging, and check out Nuno Maduro's strict Laravel starter kit. Plus, find out how to build terminal UIs in PHP with ANSI Kit!
AI Snips
Chapters
Transcript
Episode notes
Redesigned Local Error Page
- Laravel 12.29 introduces a redesigned local exception page that auto-detects dark/light mode and keeps the copy-as-markdown button.
- The new page aligns visually with Nightwatch for consistent local and monitoring error experiences.
Use Session-Backed Cache For Sticky Connections
- Use the cache session driver to tie cached data to a user's authentication session and avoid manual cleanup.
- Employ it for sticky database connections so reads and writes stay consistent across requests.
Declare Resources With PHP Attributes
- Add php attributes on models to declare resource and resource collection classes to remove boilerplate.
- Then call toResource or toResourceCollection directly on models or collections for cleaner code.
