Vigyata.AI
Is this your channel?

Weekly Laravel Updates - Episode 3

165 views· 10 likes· 17:37· May 23, 2025

🛍️ Products Mentioned (10)

=== OFFER === GET 15% DISCOUNT ON ALL PLANS OF CLOUDWAYS HOSTING FOR 3 MONTHS https://bit.ly/3SovJvg === Important Links === Fonts, extensions I use, and Support Laratips links: https://bit.ly/m/laratips === Video Related Links === Welcome to The Weekly Laravel Podcast – your new go-to podcast for everything Laravel. Join us as we kick off the show with a lively discussion on the latest happenings in the Laravel ecosystem. Whether you're a seasoned developer or just starting your Laravel journey, this episode is packed with insights, updates, and practical tips you won't want to miss. We break down the most recent Laravel updates, explore must-have packages, and share their takes on best practices for modern Laravel development. We'll also dive into some hot topics buzzing in the Laravel community, giving you the inside scoop on what's new and what's next. Got questions or topics you'd like us to cover? Drop them in the comments below. Don't forget to subscribe and hit the notification bell so you never miss an update. Sources: 1. https://laravel-news.com/usefactory 2. https://laravel-news.com/except 3. https://saasykit.com/blog/laravel-best-practices 4. [https://codecourse.com/articles/dealing-with-money-in-larave](https://codecourse.com/articles/dealing-with-money-in-laravel)l 5. https://tideways.com/profiler/blog/php-benchmarks-8-4-performance-is-steady-compared-to-8-3-and-8-2 6. https://spatie.be/blog/do-not-call-toarray-to-get-all-items-from-a-laravel-collection 7. https://www.neverjust.net/ #laravel #php #laraveltip #laratips #podcast

About This Video

In episode 3 of my Weekly Laravel Updates, I went through a stack of community sources and pulled out the stuff that actually matters day-to-day—framework tweaks, common gotchas, and a few best-practice reminders that save you from future pain. On the Laravel 12.15 side, I highlighted the kind of “small” changes that add up fast: locale-aware number parsing with the Number class, cleaner request-to-enum defaults, a new Stringable hash helper for fluent chains, and more readable testing assertions like assertClientError and assertRedirectToAction. I also covered the new PHP 8 Context attribute pattern for seeders, which is a really clean way to pass data between seeders without brittle re-queries. Then I switched into practical pitfalls and patterns: using Model::except() when you want “everything but these fields,” and the important difference between Collection::toArray() (arrays of arrays) vs Collection::all() (array of model objects). I spent time on money handling because it’s non-negotiable: don’t use floats—store cents as integers and lean on a proper library like Laravel Money (MoneyPHP under the hood), especially with casts so your model attribute becomes a real Money object. Finally, I wrapped with best practices (fat models, skinny controllers, transactions, eager loading, chunking, Pint, tests) and a team reminder: stop saying “why don’t you just…”—ask for context first, because there’s always an iceberg under the surface.

Frequently Asked Questions

🎬 More from Laratips