How to Implement a Registration Form
Warning: You are browsing the documentation for Symfony 4.x, which is no longer maintained.
Read the updated version of this page for Symfony 7.0 (the current stable version).
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:
- Define a class to represent users;
- Create a form to ask for the registration information (you can
generate this with the
make:registration-formcommand provided by the MakerBundle);
- Create a controller to process the form;
- Protect some parts of your application so that only registered users can access them.