solitus0/dto-xlsx-generator
最新稳定版本:v0.1.1
Composer 安装命令:
composer require solitus0/dto-xlsx-generator
包简介
A lightweight Symfony bundle for generating XLSX files from typed DTOs.
README 文档
README
A lightweight Symfony bundle that converts attribute-decorated DTOs into fully populated XLSX spreadsheets using PhpSpreadsheet.
Features
- Attribute-first API: describe spreadsheet layouts directly on PHP DTOs.
- Inline and multi-sheet collection support with automatic parent-child linking.
Quick Start
composer require solitus0/dto-xlsx-generator
Register the bundle in config/bundles.php, add spreadsheet attributes to your DTOs, then inject Solitus0\DtoXlsxGenerator\Services\SpreadsheetGenerator to build workbooks. The full walk-through lives in the Generate Your First Spreadsheet tutorial.
Documentation (Diátaxis)
- Tutorial – learn the workflow end-to-end.
- How-to guides: model collections, validate DTOs, deliver XLSX files.
- Reference: attributes and services & configuration.
统计信息
- 总下载量: 41
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-14