Back Button Frameworks
What's New in Laravel 8

What's New in Laravel 8

whatsnewinlaravel.com

Laravel 8 is here! This release includes brand new application scaffolding, class-based model factories, migration squashing, time traveling, and so much more. Join me as, one topic per episode, we review everything you need to know!

Beginner
11 episodes
48m
11
Latest Episode in This Series

Added 1 month ago

Upgrade the Laracasts Codebase to Laravel 8

If you'd like to come along, in this video, I will be upgrading the Laracasts codebase itself...

Watch
What's New in Laravel 8

whatsnewinlaravel.com

What's New in Laravel 8

Laravel 8 is here! This release includes brand new application scaffolding, class-based model factories, migration squashing, time traveling, and so much more. Join me as, one topic per episode, we review everything you need to know!

Begin
11
Latest Episode in This Series

Added 1 month ago

Upgrade the Laracasts Codebase to Laravel 8

If you'd like to come along, in this video, I will be upgrading the Laracasts codebase itself...
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. Section 1 Setup

    1. Free Episode Run Time 1:46

      Before we dive into the new features in Laravel 8, let's first pull in the latest version of the Laravel Installer tool. This new version includes the ability to generate the necessary Jetstream scaffolding when creating a Laravel app. Next, we'll install a fresh copy of Laravel 8.

  2. Section 2 What's New

    1. Free Episode Run Time 1:31

      First up on our journey is the new models directory and namespace.

    2. Free Episode Run Time 3:06

      Those of us with long-running Laravel applications are well-aware of how massive the migrations folder can get. The Laracasts codebase, itself, has well over 100 migrations that must run every time I refresh the database. As part of Laravel 8, you can now squash these down into a schema file.

    3. Free Episode Run Time 5:11

      In Laravel 8, all generated models include a new HasFactory trait. In this episode, we'll review the new class factories as well as how to execute them.

    4. Free Episode Run Time 4:13

      Before we move on, let's dig a bit more into the new model factory generation. In this episode, we'll review relationships and the has magic method.

    5. Free Episode Run Time 3:53

      Laravel 8 ships with improved maintenance-mode functionality. You can now pre-render templates and specify a secret key to effectively "whitelist" any users you share it with.

    6. Free Episode Run Time 3:57

      If you enjoy using the traditional Event::listen() syntax for registering event listeners, you'll be happy to hear that the syntax is now a bit cleaner. In this episode, we'll review a basic registration example, while also taking a look at the new queueable() function.

    7. Free Episode Run Time 5:12

      The new Wormhole class allows for Carbon-based time-traveling. This can be useful in testing situations where you need to setup a world where Carbon::now() returns a specific date and time that you specify.

    8. Free Episode Run Time 5:24

      Laravel 8 ships with an improved API for declaring rate limits on a per-key basis. In this episode, we'll review the differences between the Laravel 7 and 8 approaches.

    9. Free Episode Run Time 5:31

      Jetstream is Laravel's brand new application scaffolding package that replaces Laravel UI. It includes authentication and registration, profiles, two-form authentication, teams, Livewire and Inertia stacks, and so much more.

    10. If you'd like to come along, in this video, I will be upgrading the Laracasts codebase itself from Laravel 7 to Laravel 8. It shouldn't be too difficult, so let's get started!

Series still in development robot

*Series still in development. Check back often for updates.