English spoken conference

You are browsing the Symfony 5.0 documentation, which changes significantly from Symfony 3.x. If your app doesn't use Symfony 5.0 yet, browse the Symfony 3.4 documentation.

How to Implement a Registration Form

5.0 version

How to Implement a Registration FormΒΆ

This article has been removed because it only explained things that are already explained in other articles. Specifically, to implement a registration form you must:

  1. Define a class to represent users;
  2. Create a form to ask for the registration information (you can generate this with the make:registration-form command provided by the MakerBundle);
  3. Create a controller to process the form;
  4. Protect some parts of your application so only registered users can access to them.

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.