@zmeufioros Lumen is a framework and WordPress is CMS. If you wanna do more customization go with lumen if not WordPress.
Lumen to create site?
Can I use lumen to create a website? wordpress alternative but faster. good idea? bad?
For a website, perhaps laravel would be a better choice.
I just want to transform an html theme into a php site. I could make a wp theme out of it but I wanted to know if I could use lumen and make a site with lumen and my html theme. I know I can do it with laravel but I want speed. heard lumen is very fast.
Will your site have any dynamic content? If not and you want speed then use plain HTML.
Also if you cache config, routes and views in Laravel it will be also very fast.
Point is that you are probably thinking about performance issues too far ahead.
I don't know what is the current state of Lumen, but last time I've checked it was great option if you are building an very fast API. If that is not the case then go with Laravel.
thanks for letting me know. I want to have dynamically generated content and some other stuff. wanted to create it with codeigniter but thought I should look into lumen since it might be faster. have you tried lite speed cache with laravel?
Yes, I have. There are so many techniques to make stuff fast. Point is that what you've said does not make sense to worry about speed. Without a specific description, I'm not sure if anyone can give you proper answer.
@zmeufioros Just use Laravel. Lumen doesn’t have sessions for a start, so if you wanted any form of authentication, then Lumen is not suitable.
Also, don’t think picking a framework will automatically and magically make your site “fast”. Code runs as fast as it can.
Lumen doesn’t have sessions for a start, so if you wanted any form of authentication, then Lumen is not suitable.
Laravel Passport and/or Laravel Sanctum should provide that and those are first-party packages?
I know that the framework wont doo that. the opposite. I wanted a framework to speed things up development wise and not have to re-invent the wheel. just wanted a fast framework with minimum loaded stuff to have a low ttfb.
Hardly anything can match https://phalcon.io/en-us
But why don't you consider Laravel + Vapor? It will scale as much as you need.
Laravel and WordPress comparison is like comparing a grocery bag full of ingredients to a ready made pizza Cook it yourself and stay away from pizza ;) Unless you need to serve dinner in 5 minutes. There's always a but.
I used to have a Lumen install with all missing Laravel components such as sessions and some blade directives (@csrf and a few more). Works well and blazing fast. However Laravel 7 has an optimized router that is almost or just as fast as FastRoute used by Lumen. Combined with disabling classes and middleware in your config makes Laravel plenty fast. TTFB < 50ms on a live dedicated server
In short Lumen is for APIs or stateless apps -> no sessions/cookies as it was intended (after version 5.1)
Thank you guys for all your answers. I will go with laravel for this one.
Please or to participate in this conversation.