Data-id= "1190000004934808" >
What is lumen? Official website
Lumen is a micro-frame built by Laravel components and is one of the fastest PHP frameworks in the current!
When do you use lumen?
Lumen is designed for microservices or APIs, for example, if your application has a high frequency of requests for some business logic, you can take this part of the business logic separately and use lumen to build a small app.
Because Lumen is optimized for Laravel, the lumen requires a lot less resources.
Of course, you can use the queue system to interact with your main Laravel app. Laravel and Lumen are designed to work together well from the start, and, together, allow you to architect a powerful, microservices-driven application.
Lumen is also ideal for building API interfaces, and this type of application typically does not require all the features of the full stack framework, such as HTTP session management, Cookies, and template systems. (website description)
Features included with Lumen
Blade Template engine
Caching Cache System
Command Scheduler Scheduled Tasks
Controllers Controller
Eloquent ORM Database operations
Error handling Errors Handling
Database abstraction Databases Abstraction Layer
Dependency Injection Dependency Injection
Logging Log System
Queued Jobs Queue System
Note: Lumen's unique initialization mechanism makes it a great solution for building microservices architecture applications with high performance at the same time. (Developer documentation)
The above describes the lumen---for the speed of the Laravel framework, including the Laravel aspects of the content, I hope to be interested in the PHP tutorial friends helpful.