

Memoized caches, mobile Laravel, and HTTP fixtures
12 snips May 1, 2025
Explore Laravel's exciting features, including a new memoized cache driver that enhances efficiency. Discover mobile development advancements with Native PHP and how it transforms app creation. The hosts dive into Laravel 12.10's Eloquent attribute mapping and share best practices for testing and error messaging. With tools for RabbitMQ and Firebase integration, learn how to streamline API calls and ensure payment processing is error-free. Plus, get ready for the upcoming Laracon US event!
AI Snips
Chapters
Transcript
Episode notes
Lurgy and Colloquialism Anecdotes
- Michael Dorenda shares a British-Australian slang story about having "the lurgy," a mild annoying illness.
- Jake Bennett recounts a personal embarrassing story mixing two common colloquialisms involving a client.
Memoized Cache Driver Insight
- Laravel 12.9 introduces a memoized cache driver to cache values in memory during a request to reduce repeated cache hits.
- This improvement optimizes performance by avoiding costly network or database cache retrievals multiple times in a single execution loop.
Improve Closure Test Debugging
- To debug Laravel testing closures better, use explicit assertions inside the closure to get clear error messages.
- Always return true at the end to keep the condition true and get robust, informative failures over generic ones.