Laravel - Installation

  • Download Composer from https://getcomposer.org/download/

  • Install the Composer.

  • Open Command Prompt and write following command :
    composer create-project laravel/laravel ProjectName

    Note :
    ProjectName cannot have space, special characters or numbers.

  • Open VS Code & Open Project Folder.

  • Go to Terminal > New Terminal and write the following command :
    php artisan serve
The above command is used to compile the laravel application.

Once the laravel application is compiled successfully, you will get an IP Address (127.0.0.1:8000), copy this IP Address and open any Browser and paste it & press enter key. 

You will see Laravel home screen, it means Laravel has been Installed Successfully.





Comments