
You can download the source code for this course here.
An introduction to the series, outlining all the features we'll be building in this Laravel 4 authentication system. Features include the ability to create an account with email activation, sign in, sign out, change password, view a user profile, and recover an account by email.
You'll need to go ahead and install Laravel 4 before getting started.
Setting up the users table ready to store user information. We create all the fields required for our authentication system.
We look at creating a route to a home controller and render the home view, not as hard as it sounds!
Creating the main template using the blade template system.
It's a breeze to set up the ability to send email with Laravel 4, as well as establishing a connecting to our database. We test both the database connection and SMTP email in this part.
Creating a form and the functionality to allow a user to create an account within our application.
Creating a form and the functionality to allow a user to create an account within our application.
Sending an email to a user to make them activate their account by email. You can skip doing this, but it's a great way to avoid spam account creation.
The ability to sign in to our application and greet the user by their username once they are.
Simply allowing a signed in user to sign out of their account.
We bake in the 'remember me' checkbox into the sign in form, letting users remain signed in when they return to your application.
Once a user is signed in, they should be able to change their password. We build the form and hashing functionality to check the old password and create a new one.
Building a /user/[user] style URL to point to a registered user's profile. This is extremely easy to do and you can output any information about the user.
We build a form to allow a user to recover their account. This sends them a new password by email and a link to confirm their new password.
Using migrations to effectively manage your database changes and make your development within Laravel a lot easier.
Thanks for taking the course!
Looking for that perfect PHP framework to build great websites with? Try Laravel 4 and we're sure you'll be hooked.
This course teaches you how to create an authorization system for a website. A basic knowledge of PHP programming is required for this course.
What Is Laravel 4?
Laravel is a free, open source PHP web application framework, designed for the development of MVC web applications. Laravel is released under the MIT license, with its source code hosted on GitHub.
According to a December 2013 survey on PHP frameworks popularity, Laravel is listed as one of the most promising PHP frameworks for 2014