Create Laravel project

You need to have PHP, MySQL, and Composer install on your computer. If you do not have them, you can follow the instructions click here

Create Laravel project

We create eleave Laravel project by using below artisan command.`

composer create-project laravel/laravel eleave

You can use any code editor however we are going to Visual Studio Code, and you can download it from https://code.visualstudio.com/. Open the Laravel project in Visual Studio Code by opening the project folder or typing code . in project location in the command prompt , and test the application if is working or not by typing the following code in the built-in Terminal or Command Prompt.

php artisan serve

In the terminal, you will see which URL is for your Laravel project. By default, it is localhost:8000 but if it is used, it will try another port as shown below.

PHP Artisan Serve

Open the browser and if everything is fine, you will see below screen. PHP Artisan Serve