Getting Started with FOSUserBundle


If you project has User accounts, and you want to store those User accounts in a database, then the odds are high that you will do so using the excellent FOSUserBundle.

Without much work on your part, you can have a fully working User management system including:

  • Registration
  • Login / Logout
  • Password reset
  • Profile management
  • Email integration

And quite a lot more.

What may not be immediately obvious is that FOSUserBundle is incredibly popular. With over 3.2 million downloads (at the time of writing), you aren't just cutting a few days off your development time by integrating with this bundle, but you are also getting the benefit of millions of installations worth of experience and bug reports / fixes.

I should likely also mention that FOSUserBundle comes with an extensive set of unit tests. The world of Open Source Software is incredible.

In this series we are going to get started with installing FOSUserBundle into your Symfony2 project, then begin customising and configuring the various settings, options, and templates to achieve what you would likely want in a real world project.

We will customise the styling of the various form templates to enable integration with Bootstrap, Foundation, or any other custom CSS attributes you are using.

You will learn how to edit the various email messages that your Users receive during the registration process, and password resetting procedures.

We will modify the registration form to capture extra data fields, and see how to intercept or hook into the various stages of User registration and management through FOSUserEvents.

You don't need to complete this course in full to start using FOSUserBundle. By the end of the first few lessons you will have a fully functional User management system. You only need to dip into the later videos if you wish to customise or modify something more specific.

This course is aimed at beginners to the Symfony2 framework, and no special knowledge is required to get started.


Episodes

# Title Duration
1 Getting Started with FOSUserBundle 06:53
2 Your Fully Functioning User Management System 05:13
3 FOSUserBundle and Bootstrap 3 Template Customisation 05:50
4 Login with Username or Email Address 03:04
5 FOSUserBundle with Bootstrap 3 Sign In Form 05:08
6 Adding Remember Me Functionality to FOSUserBundle 07:32
7 FOSUserBundle and the Bootstrap Navbar 09:11
7 Email Management and Template Customisation 09:32
8 Impersonating a Different User 05:15
9 Translations and Internationalisation in FOSUserBundle 08:22
10 How to Redirect a User After Login or Registration 07:20
11 UX Improvements - Part 1 - Redirect /login when Logged In 08:31
12 UX Improvements - Part 2 - Redirect Using an Event Listener 15:06
13 How to Disable Registation in FOSUserBundle 09:31
14 Mailchimp Integration with FOSUserBundle Events 15:09

Share This Course

If you have found this course helpful, please share it.


Presented by

Christopher Moss

Christopher Moss

Hi, I'm Chris and welcome to CodeReviewVideos.com. In this video you will learn about... :)