kleijn's avatar

lumen api open root

Hi,

When I open my lumen API on the root, which doesn't have a route, then I see the version.

http://api.example.com/api {root} Shows: Lumen (5.4.6) (Laravel Components 5.4.*)

How can we remove the version and framework notification ? I don't want to expose which framework I'm using.

Thanks, R

0 likes
1 reply
topvillas's avatar

The easy way is to create a root route that returns nothing or maybe some information about your API instead.

Please or to participate in this conversation.