Browse all series
FrameworksIntermediate11 episodes

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 59s

Learn how Laravel's new Route::controller() method simplifies route definitions by grouping routes under a common controller for cleaner, faster coding.

Anonymous Migration Classes

43s

Explore 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 20s

Explore 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 18s

Discover 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 35s

Learn 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 42s

Unlock 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 32s

Generate 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 33s

Discover 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 59s

Boost 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 28s

Easily 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 10s

Discover Laravel's new simplified accessors and mutators approach—learn how to write cleaner, more efficient code while keeping the classic methods intact.

Continue learning

Thumbnail for Unlocking Badges Workshop
Unlocking Badges Workshop

With Jeffrey Way

  • 21 episodes
  • Advanced
  • Techniques
Thumbnail for What's New in Laravel 10
What's New in Laravel 10

With Jeffrey Way

  • 5 episodes
  • Intermediate
  • Frameworks
Thumbnail for Let's Build a SaaS in Laravel
Let's Build a SaaS in Laravel

With Matt Stauffer

  • 12 episodes
  • Intermediate
  • Frameworks
Thumbnail for Code-Breaking Workshop
Code-Breaking Workshop

With Jeffrey Way

  • 7 episodes
  • Intermediate
  • Frameworks
Thumbnail for Build A Laravel App With TDD
Build A Laravel App With TDD

With Jeffrey Way

  • 44 episodes
  • Intermediate
  • Frameworks

Would you like to hear from Laracasts by email occasionally?