> For the complete documentation index, see [llms.txt](https://liseen315.gitbook.io/laravel/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://liseen315.gitbook.io/laravel/chuang-jian-laravel-kai-fa-huan-jing/chuang-jian-yi-ge-xin-de-laravel-xiang-mu/shi-yong-composer-de-createproject-gong-neng-an-zhuang-laravel.md).

# 使用Composer的create-project功能安装Laravel

Composer还提供了一个名为“create-project”的功能，用于创建具有特定骨架的新项目。要使用此工具创建新的Laravel项目，请输入以下命令

```
composer create-project laravel/laravel projectName
```

就像安装工具一样,这条命令也会在当前目录创建一个以{projectname}为名字的子文件夹
