0

I have a Symfony_2.8 project with database that contains users of this app, now i'm moving one bundle in this project to separate Symfony_3.3 project with new database ,how can i authenticate users and load them from the main project users database ?

Note: the two projects on the same server.

1 Answer 1

2

U need to define two entity managers to connect different databases.

Read this manual

Also, u can generate User entity from existing database.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.