# Laravel的目录结构

当你打开一个包含Laravel程序的目录,你就会看到如下的文件跟目录:

```
├── app
├── artisan
├── bootstrap
├── composer.json
├── composer.lock
├── config
├── database
├── package.json
├── phpunit.xml
├── public
├── resources
├── routes
├── server.php
├── storage
├── tests
├── vendor
├── webpack.mix.js
```

{% hint style="info" %}
与5.4版本的不同

用5.4版本Laravel创建的项目,你会发现有个叫gulpfile.js的文件而却找不到webpack.mix.js文件,这说明项目是以Laravel Elixir运行的而不是Laravel Mix
{% endhint %}

让我们逐一的熟悉一下这些目录.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://liseen315.gitbook.io/laravel/chuang-jian-laravel-kai-fa-huan-jing/laravel-de-mu-lu-jie-gou.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
