Solved.
wget -O composer-setup.php https://getcomposer.org/installer
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
sudo composer self-update
rm composer-setup.php
composer create-project --prefer-dist laravel/lumen /var/www/example.com
Note to me, DocumentRoot: /var/www/example.com/public/ instead of /var/www/example.com/webroot/
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community