Beginner

What's New in Laravel 5.2

It's about that time again. Laravel 5.2 is on its way (possibly in January, 2016), with a variety of useful new additions. Let's get ahead of the game, and begin reviewing what's new.

Start Series For Free

Share this series on:

  • 01

    Episode 1 Run Time 7:02

    Implicit Route Binding Free

    Laravel has offered route model binding for some time now. However, with Laravel 5.2, much of this process is now implicit. Need to fetch a record by its id? Just typehint the model, and Laravel will automatically send you the proper instance of it.
  • 02

    Episode 2 Run Time 9:11

    API Rate Limiting Free

    When writing your APIs, you'll often need to limit the number of allowed requests. This way, one application or user can't pound your server with countless API calls. In Laravel 5.2, we get rate limiting right out of the box, via a new middleware.
  • 03

    Episode 3 Run Time 7:17

    Auth and Resets in Minutes Free

    In Laravel 5.2, you'll find a new `make:auth` command, which adds a helpful bit of view scaffolding to get you up and running as quickly as possible. Nearly every application requires authentication, login throttling, and password resets. Let's learn how to add all of that in sixty seconds.
  • 04

    Episode 4 Run Time 8:34

    Validating Arrays Free

    In past versions of Laravel, if you needed to validate an array from a form, it was actually pretty annoying! But not anymore. Now, the process is a cinch.
  • 05

    Episode 5 Run Time 17:46

    Token-Based Authentication

    Laravel 5.2 now includes support for multiple authentication systems. For instance, maybe you want your web users to sign in with the traditional session-based setup that you've been using for years. But what about the API you offer? A login form doesn't make much sense in that case. Instead, we can opt for a different driver all together; a token-based driver.

    View the route snippet for this lesson on GitHub.