# 快速上手

通过两个最小示例覆盖最常见的使用场景：

* [导出文件](/zhong-wen-jian-ti/quick-start/create.md) —— 从零开始创建一个 XLSX 文件。
* [读取文件](/zhong-wen-jian-ti/quick-start/reader.md) —— 打开已有 XLSX 并按行迭代数据。
* [手动销毁资源](/zhong-wen-jian-ti/quick-start/close.md) —— 在长生命周期脚本中显式释放底层资源。

示例均使用 `Vtiful\Kernel\Excel` 类。读取相关 API 需要在编译扩展时启用 `--enable-reader`（PECL 包默认开启）。


---

# 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://xlswriter-docs.viest.me/zhong-wen-jian-ti/quick-start.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.
