solitus0/dto-xlsx-generator

A lightweight Symfony bundle for generating XLSX files from typed DTOs.

Installs: 36

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/solitus0/dto-xlsx-generator

v0.1.1 2025-11-14 17:38 UTC

This package is auto-updated.

Last update: 2025-12-14 18:29:31 UTC


README

Latest Stable Version Total Downloads License

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)