Hello, Its look like you are new to laravel, Follow the tutorial carefully to understand most of it.

Requirements

First you need to have installed below requirments before you install laravel.

  • PHP (Latest Version)
  • Composer ( PHP dependency manager )

1. Install PHP

There are some good Windows softwares that contain Apache, PHP, MySQL and other applications in a single installation file, e.g. XAMPPWampServer and Laragon. I would recommend you to install manually Apache, PHP and MySQL, It will help you to learn more about the system.

There is other way to install via installer from php.net.

Checkout the complete PHP installation tutorial. How to install PHP?

2. Install Composer

Laravel uses the composer to manage dependencies. Make sure you have a composer installed on your machine.

Follow the below link to install the composer.
https://getcomposer.org/download/

Once you installed the composer, verify the installation by running composer command in the command prompt or terminal as shown in the following image.

3. Install Laravel

Now create a directory where you want to install laravel or open the command prompt or terminal in that directory.
Now run the below command to install laravel.

composer create-project --prefer-dist laravel/laravel

Output

Final

Start the Laravel service by runing the following command in the currently installed laravel directory.

php artisan serve

After that copy the laravel development server URL from the command prompt and paste it in the browser. Enjoy!

Author

I am a Laravel developer with some other skills.

Write A Comment