Answer the question
In order to leave comments, you need to log in
What is the best way to do this in laravel?
I have a game, now it is made in the form of a controller. It accepts api requests and returns data. The game has some settings (time, number of rounds), now they are in the config. And now I need to make 5 more different types of this game, that is, all the functionality is preserved, but only the settings and, accordingly, the paths for the API change. So what is the best way to organize it now?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question