How to create a new LARAVEL Project - Hallo sahabat Dev-Create, Pada Artikel yang anda baca kali ini dengan judul How to create a new LARAVEL Project, kami telah mempersiapkan artikel ini dengan baik untuk anda baca dan ambil informasi didalamnya. mudah-mudahan isi postingan Artikel crud, Artikel php, yang kami tulis ini dapat anda pahami. baiklah, selamat membaca.

Judul : How to create a new LARAVEL Project
link : How to create a new LARAVEL Project

Baca juga


How to create a new LARAVEL Project

 



For managing dependencies, Laravel uses composer. Make sure you have a Composer installed on your system before you install Laravel. In this chapter, you will see the installation process of Laravel.

You will have to follow the steps given below for installing Laravel onto your system −

Step 1 − Visit the following URL and download composer to install it on your system.

https://getcomposer.org/download/

Step 2 − After the Composer is installed, check the installation by typing the Composer command in the command prompt as shown in the following screenshot.



Step 3 − Create a new directory anywhere in your system for your new Laravel project. After that, move to path where you have created the new directory and type the following command there to install Laravel.

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

Now, we will focus on installation of version 5.7. In Laravel version 5.7, you can install the complete framework by typing the following command −

composer create-project laravel/laravel test dev-develop

The output of the command is as shown below −



The Laravel framework can be directly installed with develop branch which includes the latest framework.

Step 4 − The above command will install Laravel in the current directory. Start the Laravel service by executing the following command.

php artisan serve

Step 5 − After executing the above command, you will see a screen as shown below −



Step 6 − Copy the URL underlined in gray in the above screenshot and open that URL in the browser. If you see the following screen, it implies Laravel has been installed successfully.



Demikianlah Artikel How to create a new LARAVEL Project

Sekianlah artikel How to create a new LARAVEL Project kali ini, mudah-mudahan bisa memberi manfaat untuk anda semua. baiklah, sampai jumpa di postingan artikel lainnya.

Anda sekarang membaca artikel How to create a new LARAVEL Project dengan alamat link https://dev-create.blogspot.com/2021/11/how-to-create-new-laravel-project.html