What's New in Laravel 9
Laravel 9 is here, and along with it comes a wide array of useful new features and tweaks. This includes an improved accessor/mutator API, better support for Enum casting, forced scope bindings, a new database engine for Laravel Scout, and so much more.
If you have 45 minutes to spare, I'll show you everything you need to know to get up to speed.
Series episodes
Controller Route Groups
2m 59sLearn how Laravel's new Route::controller() method simplifies route definitions by grouping routes under a common controller for cleaner, faster coding.
Anonymous Migration Classes
43sExplore Laravel's use of anonymous migration classes to write cleaner, more maintainable migrations with a simple, modern tweak you don't want to miss.
New Helper Functions
4m 20sExplore Laravel 9's new global helpers, str() and to_route(). Learn how these functions simplify string handling and routing for faster, cleaner code.
Refreshed Ignition Error Page
1m 18sDiscover Laravel's refreshed Ignition error page—experience clearer, more helpful error details that speed up debugging and improve your development flow.
Render a Blade String
1m 35sLearn how to easily render Blade-formatted strings to HTML with Laravel's new simple method—perfect for dynamic content when you need quick, clean output.
Forced Scope Bindings
5m 42sUnlock clearer, more intentional routing in Laravel 9 by enabling forced scope bindings with a simple method—boost your app’s clarity and control effortlessly.
Test Coverage with XDebug
3m 32sGenerate detailed test coverage reports in Laravel with php artisan test and Xdebug—boost your testing workflow and ensure robust, reliable code effortlessly.
Laravel Scout Database Engine
5m 33sDiscover Laravel Scout’s new database engine in Laravel 9—an easy, efficient search solution perfect for small to medium apps without relying on Algolia.
Full Text Indexing
1m 59sBoost your Laravel 9 apps with improved MySQL and PostgreSQL full-text indexing using new fulltext() and whereFulltext() methods for powerful, efficient searches.
Enum Attribute Casting
10m 28sEasily cast Eloquent attributes to and from PHP 8 enums in Laravel 9—write cleaner, type-safe models with seamless enum support and improved code clarity.
Simplified Accessors and Mutators
6m 10sDiscover Laravel's new simplified accessors and mutators approach—learn how to write cleaner, more efficient code while keeping the classic methods intact.




