Tag Archives: Lumen

How to install Lumen (for development)

1. Install composer

Either by apt or by using installation wizards. It’s easy.

2. Install Lumen

composer global require "laravel/lumen-installer"

3. Create the project.

Navigate to the directory which you want to be the parent of the directory containing the project and run:

composer create-project --prefer-dist laravel/lumen <your directory>

The directory does not have to be in htdocs (or other equivalent directory of your server)

4. Create a symbolic link in htdocs of Apache

Either with ln -s or mklink.

Eg:

ln -s /projects/php/<your directory> /xampp/htdocs/<your directory>

 

References:

https://lumen.laravel.com/docs