M
M
Michael R.2018-09-01 17:30:44
Laravel
Michael R., 2018-09-01 17:30:44

Laravel and routing without explicit url?

Greetings!
It is planned to build a mini CMS on Laravel. Among other things, the user should be able to set the url of materials/groups of materials through the admin panel.
Is it possible not to specify an explicit url in the router, but let's say take it from the database?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2018-09-01
@Mike_Ro

Files route*.phpare nothing more than a simple wrapper that calls a class method \Illuminate\Routing\Router. Nothing prevents you from calling them yourself in some service provider.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question