How To Install Laravel In Xampp Or Wamp

If you want to install the laravel framework then first require to PHP 7+ version for the installation latest laravel and require to the composer.

Step1: Download composer and install the composer. follow below URL to you can download composer https://getcomposer.org/

Step2: After the installation composer, open the cmd and check the below command to the composer is install or no.

See below a screenshot example of how to check composer installed or no.

laravel_composer

Step3: Go to in your www or htdocs folder directory and run the following below laravel installation command.

Above command run after laravel latest version successfully installed.

See below screenshot example of laravel installation.

laravel_install

Step4: Move to the in your project directory after the installation laravel. see below screenshot example of move directory.

laravel_move_dir

Step5: But, if you want to run the laravel then following below command.

See below a screenshot example of how to run laravel.

laravel_php_artisan_serve

Step6: Copy Url such as “http://127.0.0.1:8080” above screenshot and open the browser and paste the copied URL then laravel has been installed successfully. See the following screenshot example of successfully run laravel.

laravel_success

Leave a Reply

Your email address will not be published. Required fields are marked *