Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

LoveTheBlues's avatar

Where is the route for larecipe defined?

Hi I have an app which has documentation in markdown format, and when the app displays the documentation it formats it nicely in the theme of my app. When clicking the link in my app to show the documentation, it goes to the following:

 mydomain.com/docs/docname

where docname is the name of markdown documents with .md file suffix in my resources/docs directory

But I can't find where the route for "docs" is defined. When I do a php artisan route:list I see a route that is registered as follows:

GET|HEAD        docs larecipe.index › BinaryTorch\LaRecipe › DocumentationC…

But that route is not in any of the files under my routes directory

It is all working correctly and I don't need help to debug. More a case that I am trying to understand how it is working. Can you shed any light?

0 likes
1 reply
Tray2's avatar

It is most likely defined in the BinaryTorch\LaRecipe package.

1 like

Please or to participate in this conversation.