Lumen was created in 2015 by Taylor Otwell who is also the creator of the Laravel framework. It is an open-source, ultra-light framework designed mainly for writing microservices in PHP. Lumen is a micro-framework , it means that it is a slimmed-down, fast version of a full-fledged framework for writing web applications, in this case it is the younger brother of the Laravel framework.
The main determinant of the quality of such a project is its speed, and it falls out well against the competition.
Taking into account the benchmark shown on the Lumen website, it is currently the fastest micro-framework among the competition in the number of requests per second.
Here are some of the advantages of the Lumen framework:
Server requirements:
Using Composer project can be installed by entering the composer command:
1 | composer create-project --prefer-dist laravel/lumen blog |
To set up the project locally, you can use external virtual machines, or use the built-in production server. This can be done by entering the appropriate command in the terminal.
1 | php -S localhost:8000 -t public |
All options for Lumen settings are stored in a .env file, after installing the project you need to configure the local environment.