Laravel / January 27, 2014

FormatController – Return results with JSON, CSV, HTML

Dan Harper created:

A Laravel Controller which allows you to display report data in multiple formats. For example, you may display a preview as HTML, and offer buttons to download as CSV and JSON.

Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.