M
M
Maxim Shevchenko2019-09-06 13:44:05
Laravel
Maxim Shevchenko, 2019-09-06 13:44:05

Is it possible to get a list of all Laravel routes in a controller?

Hello.
Essence of the question. Is it possible to get a list of all routes that are registered in the controller?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Babichev, 2019-09-06
@MarsianinM

Yes.
Route::getRoutes();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question