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

Lumen---Laravel framework born for speed laravel performance laravel download laravel homestead

WBOY
WBOYOriginal
2016-07-29 08:53:401853browse

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

  1. Blade template engine

  2. Caching caching system

  3. Command Scheduler scheduled tasks

  4. Controllers controllers

  5. Eloqu ent ORM database operation

  6. Error Handling Error handling

  7. Database Abstraction Database abstraction layer

  8. Dependency Injection Dependency injection

  9. Logging Logging system

  10. 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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn