Lumen — PHP Micro-Framework By Laravel

Code With Travel
1 min readSep 18, 2017

--

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 been designed to develop micro services like small application or web service .

In this tutorial, we’ll implement a simple RESTful API. This API based on create , update , delete car Information.

Lumen is all about speed. It’s faster and can handle more requests per second than Laravel. Besides that, more features are disabled by default and have to be activated before they can be used.

As an example: Facades (like DB::table())You first need to uncomment line in bootstrap/app.php to enable them .

Now installation of Lumen Go to the htdocs or var/www/html

Run this command

composer create-project laravel/lumen lumen_rest_ce

Run this command

php -S localhost:8080 -t public/

Go to the http://localhost:8080

Lumen is installed .

--

--

No responses yet