Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Browse all series

What's New in Laravel 5.0 (Alpha)

Each new release of Laravel feels like a mini-Christmas, and version 5 is no different! Though some of these changes might seem jolting at first, don't worry; give me a few minutes, and I'll explain everything you need to know. Get ready!

This Series Has Been Archived

You are viewing an archived course. Some of the concepts in this video may no longer be relevant in 2026.

Progress

Series Info

Episodes
12
Run Time
2h 5m
Difficulty
Intermediate
Last Updated
Nov 11, 2015
Version
Latest

Series Episodes

  1. Episodes (12)
    1. New Directory Structure

      To begin our review of Laravel 5.0, let's review the most immediate change, when you install a fresh copy of the framework: the directory structure is different!
    2. Method Injection

      For a while now, we've been able to leverage automatic constructor injection, thanks to reflection and the IoC container. But now, the same is possible for controller methods! You'll love this one.
    3. Form Requests for Validation and Authorization

      Next, we come to my favorite new feature in Laravel 4.3: form requests. Have you ever noticed how we all handle validation in slightly different ways? For such a common task, it's sad that there isn't a single system that we can all follow. Well...now there is! You're going to love form requests objects - especially when we mix them with method injection.
    4. New File Generators

      Re-typing the same boilerplate over and over benefits no one. Instead, leverage the new file generators in Laravel 4.3.
    5. Spiffy Authentication

      Laravel 4.3 includes a new auth generator that will save you a great deal of time, when beginning your next new project.
    6. Contracts

      All of Laravel's components now adhere to a new set of contracts, or interfaces. Yes, this isn't the most glamorous thing in the world, however, you'll find that it helps to decouple your code and reduce hard dependencies.
    7. Route Caching Goodness

      Route caching, which would be performed on your production server, will drastically speed up the process of registering your application's routes.
    8. Socialite

      New to Laravel is Socialite: an optional, first-party package for handling third-party authentication, such as with GitHub, Twitter, or Facebook. In this lesson, we'll review the entire process from scratch.
    9. Route Annotations

      Where did my routes.php file go!? Well, in Laravel 5, we can use annotations to register our routes. Let me show you how it works.
    10. Event Annotations

      In Laravel 5, we have two ways to register event listeners, and both are better than the way we accomplished it in Laravel 4! Let's see.

Continue Learning