Step 1 : Open command line tool or terminal for mac/ linux and run this command for lumen installer . If you have not composer installed then download and install it from here ; https://getcomposer.org/ and install lumen intaller globally Step 2 : Create a lumen project with following command Step 3 : Go the project directory and run the project Step 4 : Database file setup . Open .env file and setup database file . For mysql it looks like – If you have no database create database for localhost . You need to install XAMP/WAMP . change the database name , password and username . And Environment and database setup done .
Database Migration : php artisan migrate