# Artisan 和 Tinker

现代PHP框架期望在命令行上进行许多交互。Laravel为命令行交互提供了三个主要工具:Artisan，一套内置的命令行工具;Tinker，与应用可交互的shell，以及installer，我们已经在第二章介绍过。


---

# 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/artisan-he-tinker.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.
