Intermediate

What's New in Laravel 5.5

whatsnewinlaravel.com

Here we go again! Currently scheduled for a July release date, we're on the verge of Laravel 5.5. With that in mind, let's get a head start on the new features and additions to the framework. As always, there's quite a few!

Start Series For Free

Share this series on:

  • 01

    Episode 1 Run Time 1:19

    Laravel 5.5 Installation and Whoops Free

    Let's get started by installing, at the time of this recording, the development version of Laravel. That way, we can pull in the 5.5 version of the framework. Once setup, we'll also take a quick look at the new Whoops integration.

  • 02

    Episode 2 Run Time 5:42

    Streamlined Request Validation Free

    A small, but long-requested addition, you may now send a validate message directly on your Request instance. Even better, this method call will return the validated data, which means you can pass the result directly to your model's create or update methods. Simpler code for the win!

  • 03

    Episode 3 Run Time 1:04

    Fresh Migrations Free

    A new migrate:fresh Artisan command is being introduced as part of Laravel 5.5. This is similar to the existing refresh option, however, rather than rolling back all of your migrations (and triggering the respective down method for each), this new command will simply drop all tables and run your migrations from scratch.

  • 04

    Episode 4 Run Time 3:28

    Frontend Presets Free

    Out of the box, Laravel ships with a small bit of frontend boilerplate to get you up and running as quickly as possible. Specifically, it includes a few Sass and Vue suggestions. However, as part of Laravel 5.5, you may now configure this initial boilerplate to your liking. Want to strip all of it? Now you can. Prefer to use React instead of Vue? Easy!

  • 05

    Episode 5 Run Time 2:51

    Automatic Package Discovery Free

    If you've ever installed a Laravel package before, you most certainly were required to visit your `config/app.php` file to add a service provider and alias. This is what allows the package to bootstrap itself into your Laravel installation. In Laravel 5.5, however, packages can optionally perform these steps automatically. In this video, we'll update an existing Laracasts package to allow for this very thing.

  • 06

    Episode 6 Run Time 3:20

    Faster Email Layout Testing Free

    Testing the layout of your mailables can always be a little tricky. Usually, we resort to sending the email to a test email server like Mailtrap, and then reviewing the output. In Laravel 5.5, however, we can now return a mailable class instance directly from any route. Convenient!

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