Back Button Frameworks
What's New in Laravel 7

What's New in Laravel 7

Laravel advances to version 7 on March 3rd, 2020 with updates to Blade components, custom casting, fluent string operations, a friendly HTTP client, and much more. In this series, one episode at a time, we'll review everything you need to know.

Intermediate
6 episodes
57m
6
Latest Episode in This Series

Added 7 months ago

Intro to Laravel Sanctum

Laravel Sanctum provides a light-weight authentication system for single-page applications and token-based APIs. In this episode,...

Watch
What's New in Laravel 7

What's New in Laravel 7

Laravel advances to version 7 on March 3rd, 2020 with updates to Blade components, custom casting, fluent string operations, a friendly HTTP client, and much more. In this series, one episode at a time, we'll review everything you need to know.

Begin
6
Latest Episode in This Series

Added 7 months ago

Intro to Laravel Sanctum

Laravel Sanctum provides a light-weight authentication system for single-page applications and token-based APIs. In this episode, we'll...

Watch

Your Teacher | Jeffrey Way

https://laracasts.s3.amazonaws.com/avatars/jeffrey-avatar.jpg's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.
    1. Free Episode Run Time 11:50

      Blade components have received a significant update as part of Laravel 7. In addition to a new Vue-like syntax, any component may now be backed by a view model (of sorts).

    2. Free Episode Run Time 4:28

      Laravel 7 ships with a new Stringable class that provides a fluent object-oriented interface for manipulating strings.

    3. We can now create custom Eloquent cast types. This, as an example, would allow you to transform one or more attributes into a dedicated type (like a value object). The key is to prepare a class that implements the CastsAttributes interface.

    4. Free Episode Run Time 3:56

      Laravel 7 includes some useful improvements to route model binding. You may now specify a custom route key name without adding a getRouteKeyName() method to the associated model. Instead, simply add the custom key as part of the route declaration: /posts/{post:slug}. Additionally, when specifying custom keys, Laravel will automatically scope them to a parent relationship if relevant.

    5. Free Episode Run Time 8:26

      Laravel 7 now ships with a friendly wrapper around the popular Guzzle HTTP client. It's never been easier to quickly make the necessary API request with the proper request data and headers. I'll show you everything you need to know in this episode.

    6. Free Episode Run Time 19:13

      Laravel Sanctum provides a light-weight authentication system for single-page applications and token-based APIs. In this episode, we'll review the former.