How To Create Laravel Project With Composer
hardyweb

hardyweb @hardyweb

About: Highly motivated and self-directed IT professional with a strong foundation in web development (particularly Laravel) and a passion for continuous learning.

Location:
Terengganu, Malaysia
Joined:
Jun 20, 2022

How To Create Laravel Project With Composer

Publish Date: Sep 25 '24
1 0

Old way

composer create-project laravel/laravel project-name 
Enter fullscreen mode Exit fullscreen mode

this command will install the latest laravel version

composer create-project laravel/laravel:^10.0 project-name
Enter fullscreen mode Exit fullscreen mode

this command will install laravel version 10

new way ( Laravel Installer )

composer global require laravel/installer

laravel new project

cd project

php artisan serve
Enter fullscreen mode Exit fullscreen mode

Comments 0 total

    Add comment