how to Install Laravel Project in current directory

How to install some git package in specific folder? Or how to install package ( in this case Laravel) in current directory?

Install Laravel in current directory can be done with this command:

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

Dot(.) : by using (.) we can install Laravel new Project or we can Clone Project Current Directory.

git clone laravinfogithubrepo.com/ projectName .
saim ansari
saim ansari

I'm Saim Ansari, a full-stack developer with 4+ years of hands-on experience who thrives on building web applications that leave a lasting impression. When it comes to tech, I'm particularly adept at Laravel, React, Tailwind CSS, and the Tall Stack