blondak / dataresponse
Data response for Nette with dynamic datasource
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/blondak/dataresponse
Requires
- php: >=5.6
- mk-j/php_xlsxwriter: ~0.37
- nette/application: ^2.4
- nette/http: ^2.4
This package is not auto-updated.
Last update: 2025-10-07 12:43:23 UTC
README
XLSX,CSV response for Nette Framework
- gzip encoding
- dynamic datasource
Download package
composer require blondak/dataresponse
Sample datasource
<?php namespace App\Model\Service\Feed; Presenter ```php public function actionExportCsv(int $id): void { $response = new CsvResponse($this->datasource, sprintf('export-%d.csv', $id)); $this->sendResponse($response); }