Copy the project folder and go to terminal / cmd just run the following commands.
Create a database and place the same name in the .env file in the laravel project folder
1.composer install 2.php artisan key:generate 3.php artisan cache:clear 4.php artisan migrate
UPDATE: If you get
Oops, it seems like something went wrong
in app/config/app.php , set for debugging as true :
'debug' => env('APP_DEBUG', true)'
If you get an error message
No supported encrpyter found. The pedal and / or key length is invalid.
for some people, it worked to make cp .env.example .env before (2).
source share