Member-only story
You just cloned a laravel project from github and don’t know how to set it up? Don’t worry this tutorial will show you the standard things you need to do to clone a github repo onto your local computer and get it setup to start working on your system.
We are also going to setup the database, the env file, the encryption key, and more.

1. Clone GitHub repo using the repository url.
Find a directory (folder)on your computer where you want to store the project. I make use of Laragon, so all my projects are inside a folder called www/
, that is where I run the following command, which will pull the project from github and create a copy of it on my local computer at the “www” directory.
git clone REPOSITORY_URL
To get the link to the repo, just visit the github page and click on the green “clone or download” button on the right hand side. This will reveal a url that you will replace in the Repository_url part of the snippet above.
