2020-10-15 16:44:02
Laravel
, 2020-10-15 16:44:02

A few questions that interest me, about Laravel and with regards to MVC?

To create a user, Laravel has a ready-made User.php model, should I use it or make my own model?

I am also interested in the topic of controllers, that it is more correct to create one controller with the name UserController where to do all the functions regarding the User as createUser() , showUser() or to do each function in its own controller as RegistrationController or LoginController() or if both options are correct, then in what cases to use them, so if it’s not difficult to advise some book about Laravel (if it exists)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question