Re:Lumen – A micro-framework by Laravel
by pan69 on Tuesday April 14, 2015 @05:32PM
(#9377515)
How many lines of code should a micro framework have?
[ Parent
| on HN ]
It should be near other PHP micro-frameworks:
- BulletPHP: 3946 lines of PHP code
- Slim: 7329 lines of PHP code
- limonade: 3669 lines of PHP code
- Lumen: 95'220 lines of PHP code
You can't call it a micro framework if it's more than ten times bigger than all the other ones.
Lines of code is obliviously not a benchmark to rank a micro framework.
The term "mirco" refers to the amount of functionality the framework exposes. Often a micro framework is just a router decorated with some other useful stuff. Who cares about lines code, especially when you count "all" dependencies in vendor.