This article covers how to install Lumen via the installer or Composer.
composer global require "laravel/lumen-installer=~1.0"
Make sure to place the
~/.composer/vendor/bin directory in your PATH so the
lumen executable can be located by your system.
lumen new directory
lumen new directory command will create a fresh Lumen installation in the directory you specify.
composer create-project laravel/lumen --prefer-dist directory
composer create-project command will create a fresh Lumen installation in the directory you specify.
Lumen may require some permissions to be configured. Folders within
storage directory need to be writable.
Find the server worker process:
ps aux|grep nginx|grep -v grep // probably "www-data" or: ps aux|grep apache|grep -v grep // probably "www-data"
storage folder group:
[sudo] chgrp -R www-data storage/
Set a 775 recursive permission:
[sudo] chmod -R 775 storage/
Source: Lumen Installation Documentation
Like this article? Found it useful?
Share it on your favorite social networks.