1. Download Composer dan install (Pastikan terkoneksi internet)
2. buka CMD
Microsoft Windows [Version 10.0.17134.1304]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Users\fuad hasan>composer
______
/ ____/___ ____ ___ ____ ____ ________ _____
/ / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
/_/
Composer version 2.6.5 2023-10-06 10:11:52
3. buat project laravel masuk ke folder XAMPP/HTDOCS
C:\Users\fuad hasan>E:
E:>cd xampp\htdocs
E:\xampp\hdocs>composer create-project --prefer-dist laravel/laravel:^10.0 web-laravel
4. Jalankan Laravel
E:\xampp\hdocs\web-laravel>php artisan serve
No comments:
Post a Comment