rickapf's avatar

Views in Lumen 5.2.6

I just installed Lumen (5.2.6). I was under the impression that views are no longer available in the latest version. However, there is still a views folder within the resources directory. So I decided to create a simple blade template within the views folder and created a route to try and display it and everything worked fine. So it appears that views are still available in 5.2? Or am I missing something?

0 likes
3 replies
rickapf's avatar

Hey, thanks for your reply. I know the docs say they have been removed, that's why I was surprised when I was able to create & display one after downloading & installing 5.2. Try it for yourself and see.

Max13's avatar

Strange (not really actually), but I was also listening a podcast (Laravel) on which Taylor Otwel said it was removed.

Anyway, I answered that because I thought you wrote it didn't work... My bad. Anyway, he also said that lumen was created for simple APIs and micro-services, if you need views and state full sessions: you probably need Laravel

Please or to participate in this conversation.