api symfony code example
Example: symfony 4.4 rest api
fos_user.yml
fos_user:
db_driver: orm # other valid values are 'mongodb' and 'couchdb'
firewall_name: main
user_class: App\Entity\User
from_email:
address: '[email protected]' # for example your email
sender_name: '[email protected]' # for example your email