Browsed by
Category: lumen framework

Rest api development with lumen – part 1 : Environment setup

Rest api development with lumen – part 1 : Environment setup

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 .