Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Flex's avatar
Level 4

How to create new laravel 8 project using command prompt?

I need create new laravel 8 project using command frompt. i am going to use following command for that. composer create-project laravel/laravel blog

is it correct or may I put laravel version here?

0 likes
4 replies
in4s's avatar

It is totally correct way.

Untill laravel 9 comes, this command will install laravel 8.

2 likes
sr57's avatar

No need to put version for last one.

2 likes
in4s's avatar

And, you can use version number this way:

composer create-project laravel/laravel:7 blog

(to install version 7.*)

2 likes

Please or to participate in this conversation.