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
- Episodes (14)
Composer Comes First
If you're switching to Laravel from a framework like CodeIgniter, then you'll first need to learn about Composer. Think of it as a required prerequisite to learning Laravel.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!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!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.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.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?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!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.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.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!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?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.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!Deleting Records and Helpers
Let's review the process of deleting records, while also touching upon Composer and its ability to autoload regular files.
