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

Browse all series

Laravel 5 Alpha From Scratch

So you've chosen to learn Laravel? Excellent choice! I can't recommend it enough. In this series, step by step, I'll show you the ins and outs of developing an application with this wonderful framework. Let's get going!

Please note that Laravel 5 has not yet been released. Anything and everything may change. This series is exclusively for getting an early peek.

Updated Series Available

You are viewing an archived course. We instead recommend that you watch Laravel 6 From Scratch.

Progress

Series Info

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

Series Episodes

  1. Episodes (14)
    1. Install Laravel 5

      Now that we're a bit more familiar with Composer, we can move on to installing Laravel and booting up a server!
    2. Your First Virtual Machine

      What if you worked through the first two lessons, but hit some kind of hurdle? Maybe your version of PHP doesn't meet Laravel's requirements (5.4), or maybe you don't have the Mcrypt extension installed. Well, instead, why don't we leverage a virtual machine for our development needs. And, luckily, Laravel once again makes this process a cinch!
    3. Basic Routing, Controllers, and Views

      Let's take baby steps, and figure out how to build your basic static web pages. In the process, you'll get your first taste of routing, controllers, and views.
    4. Passing Data to Views

      Naturally, we need some way to pass data to our views. Let's review that in this lesson, while also touching upon some Blade constructs.
    5. Routing for Bieber

      Imagine that you run the greatest Justin Bieber fanclub website of all time, and now want to add a section of your website that lists all of his songs, as well as the lyrics. How might we go about implementing such a thing?
    6. Migrations and Persistence

      We naturally don't want to hard-code our song-list. Let's switch over to an SQLite database, which will give us a chance to review migrations!
    7. Eloquent and Route Model Binding

      In this episode, you'll learn how to create your first Eloquent model. Additionally, for those wanting extra credit, at the end of the video, we'll discuss route model binding.
    8. Updating, Mass Assignment, and Forms

      Lots to learn in this episode, so be prepared! As we learn how to update a database record with Eloquent, we'll also need to review everything from form model binding, to mass assignment, to REST.
    9. Route Resources

      Notice how we're having to create a bunch of routes for such a common task? Well, luckily, we can simplify this greatly!
    10. Named Routes

      What might be a potential downside to hardcoding all of your application URLs? Well, if, in the future, you decide to change any of them, you'll then have to update every single view, where the URL was referenced. Hmm - think there might be a way around this?
    11. Creating Records and View Partials

      Let's continue our learning by figuring out how to add new songs to the database. In the process, we'll also discuss view partials.
    12. Form Validation is Easy

      In Laravel 5, form validation is a cinch. In fact, in this lesson, you'll learn how to start validating your forms, without adding a single line of code to your controllers!
    13. Deleting Records and Helpers

      Let's review the process of deleting records, while also touching upon Composer and its ability to autoload regular files.

Continue Learning