What is Lumen In Laravel and Its Use

What is Lumen? If you need to answer this question with one statement then you can say “Lumen is fast micro-framework by Laravel and used to develop high speed micro-services and API development.


Lumen is majorly used to develop APIs and web services. Lumen is Laravel’s micro framework that was created by the Laravel’s creator i.e. Taylor Otwell. You can check all the releases of here Release Notes – Lumen – PHP Micro-Framework By Laravel.

Lumen is a micro framework which means it is fast and small version of web framework. PHP has other two framework named slim and silex.

Lumen and its benchmark
Lumen Benchmark

Install Lumen

Lumen use compesr to install all its dependencies. So, before you start you have to install composer first. If you don’t no how to install composer follow the article here Install Composer on Linux and Windows in 3 Steps.

Some server requirements to install Lumen are,

  • PHP 7.3 (for newer Lumen version)
  • PDO PHP Extension
  • OpenSSL PHP Extension
  • Mbstring PHP Extension

Note: To enable above extension we use php.ini file and search for these. To enable extension, just remove semicolon(;) from the start.

You can install Lumen as like laravel by pulling it from global.

After the complete installation, if you use local server or any built in PHP server then run the below command,

How to Run Laravel Project on Localhost

Some Major Points About Lumen

  1. Lumen is the micro framework for web application that used to create micro services or APIs.
  2. It is a smaller and lighter part of Laravel.
  3. On the integration part, it supports third praty integrations like any pyament gateway or security packages like JWT.
  4. It handles number of requests more than Laravel.
  5. Also response time is very less compared to Laravel.
  6. Lumen majorly used for its speed.


Lumen is a trimmed version of laravel to increase its speed. It does not create problem with the major tasks like views, sessions and routing etc. So here we learn about Lumen, its major use and its installation on our local server.

Hope you will understand, if you have any question let me know.

Also Read:

Happy Coding..!

Was this article helpful?
My name is Bikash Kr. Panda. I own and operate PHPCODER.TECH, my native place in Odisha. I am a Web Programmer by profession and working on more than 50 projects to date. My passion is working on the web-based project using PHP and relate to all CMS and frameworks which is based on PHP.
Posts created 175

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top
mariobet - supertotobet - escort -


- milanobet giriş - gizabet giriş -
perabet giriş
- betkanyon giriş -

jojobet giriş

We are now accepting guest posting and creation of back-links.
This is default text for notification bar