Lumen 中文文档 Github


基于 Laravel 构建的速度最快的微框架(micro-framework)。

Lumen 中文文档


 * Reimagine what you expect...
$app->get('/', function() {
	return view('lumen');

 * From your micro-framework...
$app->post('framework/{id}', function($framework) {

	$this->dispatch(new Energy($framework));

$app->get('api/users/{id}', function($id) {
	return User::find($id);



Decidedly Laravel. Delightfully Minimal.

Lightning fast micro-services and APIs delivered with the elegance you expect.

Benchmark Breaking Speed

Lumen is the perfect solution for building Laravel based micro-services and blazing fast APIs. In fact, it's one of the fastest micro-frameworks available. It has never been easier to write stunningly fast services to support your Laravel applications.

  • 1000
  • 1300
    Slim 3
  • 1900

Requests per second

The Convenience You Love

Don't sacrifice power for speed. Use the Laravel features you love like Eloquent, caching, queues, validation, routing, middleware, and the powerful Laravel service container. All with almost zero configuration.


$app->get('user/{id}', function($id) {
	return User::findOrFail($id);

Friends In High Places

Have a Lumen project you want to upgrade to the full Laravel framework? It couldn't be easier. Since Lumen is powered by Laravel's components, just drop your code into a Laravel installation. You won't have to change a thing.