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

RajeevElzrando's avatar

How to get routes and namespace in Lumen 5.2?

Lumen 5.2 has not been officially released yet, but as you can see in the GitHub repository the methods app()->getRoutes() and app()->getNamespace() will be no longer available.

Are there any other ways to get the routes and the namespace in Lumen 5.2?

0 likes
1 reply

Please or to participate in this conversation.