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

 

 

 

 

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s