2017 © Pedro Peláez
 

library dataresponse

Data response for Nette with dynamic datasource

image

blondak/dataresponse

Data response for Nette with dynamic datasource

  • Monday, April 9, 2018
  • by blondak
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

DataResponse

XLSX,CSV response for Nette Framework, (*1)

  • gzip encoding
  • dynamic datasource

Download package, (*2)

composer require blondak/dataresponse
````

Sample datasource
```php
<?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);
}

The Versions

09/04 2018

dev-master

9999999-dev

Data response for Nette with dynamic datasource

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

by Avatar blondak

csv response xlsx nette

09/04 2018

0.1.1

0.1.1.0

Data response for Nette with dynamic datasource

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

by Avatar blondak

csv response xlsx nette

09/04 2018

0.1a

0.1.0.0-alpha

Data response for Nette with dynamic datasource

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

by Avatar blondak

csv response xlsx nette

08/04 2018

0.1

0.1.0.0

Data response for Nette with dynamic datasource

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

by Avatar blondak

csv response xlsx nette