Press ESC to close

Laravel Installation

  • Apr 27, 2024
  • 1 minute read
  • 171 Views

Prerequisites software

Note: if you install Open Server Panel there is no need to install Composer.

After you have installed the above software, you may create a new Laravel project via Composer's create-project command

composer create-project laravel/laravel test-app/www

You would use the following command to install Laravel specifying a version or tag.

composer create-project laravel/laravel test-app/www “version-name”

Screenshot 2024-04-28 012537

The output of the command is as shown below.

Screenshot 2024-04-28 012752

The above command will install Laravel in the current directory. now go to the “project-name/www ” directory.

Screenshot 2024-04-28 013457

Start the Laravel service by executing the following command.

php artisan serve

After executing the above command, you will see a screen as shown below.

Screenshot 2024-04-28 013724

Copy the URL  in the above screenshot and open that URL in the browser. If you see the following screen, Laravel has been installed successfully.

Screenshot 2024-04-28 014108
 

 

Leave a comment

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