We will leverage on Symfony’s generators to quickly code a simple user authentication and CRUD system in less than 15 minutes.
Let’s start by creating a new Symfony project, which we will call sym_auth.
symfony new --full sym_auth
Then we will edit the .env file in the root folder, adding our database credentials.
DATABASE_URL=mysql://sym_auth:sym_auth@127.0.0.1:3306/sym_auth?serverVersion=5.7