Converting JSON to a CSV file

Posted 2 years ago by domioanna

Is there a way, in Laravel or via a package, to take a JSON feed and turn it into a CSV file that can be emailed?

I'm trying to streamline and automate areas of my business, so if there is a way that on the first each month to generate and email a CSV file with different data from the website in, that would be amazing.

I know how to do all the other bits, but the conversion of JSON data into a CSV file is the bit I'm struggling with.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.