P
P
plaha2018-04-03 13:16:15
Laravel
plaha, 2018-04-03 13:16:15

Laravel: what is the best way to organize user multityping, e.g. manager, client?

While I see for myself the extension of the user model with the user_type attribute, and depending on it, when authorizing the loading of the corresponding model Manager, Client?
What other options can you think of within the Laravel ideology?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mykola Ivashchuk, 2018-04-03
@mykolaim

Entrust package.
Everything has already been thought of before us.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question