Lumen? lumen Laravel , PHP ! Lumen?Lumen API , , , , Lumen App. Lumen Laravel , Lumen ., Laravel ."/> Lumen? lumen Laravel , PHP ! Lumen?Lumen API , , , , Lumen App. Lumen Laravel , Lumen ., Laravel .">
Home > Article > Backend Development > Lumen---Laravel framework born for speed laravel performance laravel download laravel homestead
data-id="1190000004934808">
What is Lumen? Official website
lumen is a micro-framework built from Laravel components. It is one of the fastest PHP frameworks currently!
When to use Lumen?
Lumen is designed for microservices or APIs. For example, if you If there is some business logic in the application that has a relatively high request frequency, you can take out this part of the business logic separately and use Lumen to build a small App.
Because Lumen optimizes the loading mechanism of the framework for Laravel, so Lumen’s resource allocation Much less demanding.
Of course, you can use the queuing system to interact with your main Laravel application. Laravel and Lumen were designed from the beginning to work well together, and, used in tandem, allow you to build a powerful, Microservice-driven applications.
Lumen is also very suitable for building API interfaces. This type of application usually does not need all the functions of a full-stack framework, such as HTTP session management, cookies, and template systems. (Official website description )
Lumen includes features
Blade template engine
Caching caching system
Command Scheduler scheduled tasks
Controllers controllers
Eloqu ent ORM database operation
Error Handling Error handling
Database Abstraction Database abstraction layer
Dependency Injection Dependency injection
Logging Logging system
Queued Jobs queue system
Note: Lumen unique initialization mechanism to make it functional It is powerful and has high performance, making it an excellent solution for building microservice architecture applications. (Developer Documentation)
The above has introduced Lumen---the Laravel framework born for speed, including laravel content. I hope it will be helpful to friends who are interested in PHP tutorials.