Notification bell This series has been archived. We instead recommend: Laravel From Scratch
A series is marked as archived when the content is no longer up-to-date or relevant to most viewers.
Back Button Frameworks
Laravel 4 From Scratch

Laravel 4 From Scratch

Each year, the Laracasts "Laravel From Scratch" series is refreshed to reflect the latest iteration of the framework. This is the 2014 edition, which uses version 4.0 of the framework.

So you're brand new to this whole MVC framework thing. That's okay; we've all been there! This series was tailor-made for you, and will get you up to speed in no time. Follow along, step by step!

Beginner
16 episodes
1h 35m
16
Latest Episode in This Series

Added 4 years ago

Goodbye

Well that does it for this introduction to Laravel. But, as you can imagine, there is so,...

Watch
Laravel 4 From Scratch

Laravel 4 From Scratch

Each year, the Laracasts "Laravel From Scratch" series is refreshed to reflect the latest iteration of the framework. This is the 2014 edition, which uses version 4.0 of the framework.

So you're brand new to this whole MVC framework thing. That's okay; we've all been there! This series was tailor-made for you, and will get you up to speed in no time. Follow along, step by step!

Begin
16
Latest Episode in This Series

Added 4 years ago

Goodbye

Well that does it for this introduction to Laravel. But, as you can imagine, there is so,...
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. EPISODE 1

      Run Time 3:22

      Free

      Naturally, before we can begin learning about Laravel and the MVC pattern, we first need to install the framework. We'll tackle that in this lesson.

    2. EPISODE 2

      Run Time 11:18

      Free

      Now that we have a fresh installation of Laravel, let's have a look around our new project, and discuss the benefits of the MVC architecture.

    3. EPISODE 3

      Run Time 7:11

      Free

      We've already discussed the basics of views and controllers, but how do models fit into this whole thing?

    4. EPISODE 4

      Run Time 4:13

      Free

      Now that we have a modest understanding of the MVC pattern, let's next learn how to connect our Laravel app to a MySQL database.

    5. EPISODE 5

      Run Time 7:23

      Free

      Now that we've reviewed the DB class, let's next move on to Laravel's ORM, called Eloquent. I think you'll love it!

    6. EPISODE 6

      Run Time 7:16

      Free

      You'll love Laravel's templating engine, called Blade. In this lesson, we'll review the basics of Blade, while we build a simple layout for displaying users.

    7. EPISODE 7

      Run Time 4:26

      Free

      Master pages offer an elegant way to DRY up our views, so to speak. Clearly, copying and pasting HTML from view to view is a bad idea! Let's fix that in this lesson.

    8. EPISODE 8

      Run Time 4:19

      Free

      Routing to closures is helpful for quick projects, however, as soon as you build an app of any size or substance, you'll likely want to switch to controllers. Let's do that in this lesson.

    9. EPISODE 9

      Run Time 5:34

      Free

      Now that we've reviewed explicit routing, let's learn a bit more about the RESTful style of development, and how Laravel fits in.

    10. EPISODE 10

      Run Time 5:32

      Free

      Let's move on to Laravel's form handling capabilities.

    11. EPISODE 11

      Run Time 2:26

      Free

      It's now time to accept the form's POST data, and translate that into a new record in our database. Luckily Eloquent makes this a cinch!

    12. EPISODE 12

      Run Time 8:28

      Free

      Clearly, we must implement some form of validation for protection. Let's tackle that in this episode.

    13. EPISODE 13

      Run Time 7:00

      Free

      It's better if we instead inject our User object through the controller's constructor. Let's tackle that in this lesson, and learn about some alternative ways of validating a user.

    14. EPISODE 14

      Run Time 6:15

      Free

      Laravel makes use of what we call migrations to handle table creation and manipulation. You're going to love it! Think of it as version control for your database.

    15. EPISODE 15

      Run Time 10:26

      Free

      Now that we have users table, how might we go about adding an authentication layer to our application?

    16. EPISODE 16

      Run Time 23

      Free

      Well that does it for this introduction to Laravel. But, as you can imagine, there is so, so much more to learn. Luckily, you'll find page after page of education on this very site. See you around!