Olaf Olafson
Olaf Olafson

Reputation: 9

Custom User System in Symfony?

Hello im new to Symfony and i have a question. I already build a User Authentification following the Documentation.

providers:
    our_db_provider:
        entity:
            class: AppBundle:User


class User implements UserInterface, \Serializable

So i have created a User Entity, the provider etc. my question is if its necessary to use this or can i just create a user system like User Database -> Login -> create Token, Session etc. without the Provider and the Security System in Symfony.

Upvotes: 0

Views: 113

Answers (1)

Crofly
Crofly

Reputation: 416

You can do it for sure, but it makes no sense. If you use the Symfony full stack framework you should use its features. If you dont want to use such basic fetaures dont use the full stack framework. Use the single symfony components and pick only the parts you need. Like the Routing component or others.

Upvotes: 1

Related Questions