Step 1: Install Composer
Inorder to install composer go to Composer Website and click for download button.
After the installation check whether the composer is installed properly by typing ” composer ” in the command prompt.
Step 2: Install laravel dependencies.
composer global require "laravel/installer"
Type the above command in your Command Prompt and have a tea break !… Wait for sometime till all the dependecies are installed.Just like we installed Composer use the command “laravel” in your command prompt.
These list of commands will be used inorder to create a laravel project.
Step 3: Crafting a new laravel project.
To create a new application on laravel fire-up your XAMP server.Launch your Command Prompt and type the following command:
.
cd C:\xampp\htdocs
This is the folder where you are going to deploy your application.Laravel has got engines to build its dependencies automatically with few commands.
Like here I am creating a new application called myapp.
laravel new myapp.
After the all the installations are finished a success message like below will be displayed.
No comments:
Post a Comment