Laravel News Podcast

PHP 8.4, Black Friday, and Composer Wardens

Nov 28, 2024
Discover the exciting features of PHP 8.4, such as Property Hooks and class instantiation without parentheses. Dive into the latest Laravel updates, including improved caching, mailing, and database connections. Explore fantastic Black Friday deals exclusive to Laravel users. Learn about new security enhancements with Warden for vulnerability alerts, and how to leverage data transfer objects for optimal data handling. There's something for every Laravel enthusiast in this engaging discussion!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Caching Password Reset Tokens

  • Use the new cache token repository in Laravel 11.31 for storing password reset tokens.
  • Configure it in your config/auth.php file by setting the passwords driver to cache.
ADVICE

Dynamic Builders in Laravel 11.31

  • Leverage Laravel 11.31's new dynamic builders for mail, database, and cache connections.
  • Use mail::build, db::build, and cache::build to create connections on demand.
INSIGHT

PHP 8.4 Features

  • PHP 8.4 offers features like property hooks and streamlined class instantiation.
  • It also includes new array functions and asymmetric property visibility.
Get the Snipd Podcast app to discover more snips from this episode
Get the app