Nitish Patra
Nitish Patra

Reputation: 329

Laravel server side chart generation

I am using PHP 5.6 and Laravel 5.3. I want to implement server-side chart generation that can be stored in storage folder(optional requirement, but highly preferred) by passing the data to it, and finally mailing it to users on the laravel scheduler. I want to do it on the cronjob, but I am unable to find a proper plugin for this, usually what I get is client-side chart generation, which can be converted to a screenshot and then mailed,but I am looking for a complete server-side chart generation, converting it into a JPEG or PDF and store it in the server or mail it as an attachment. I want something similar to Grammarly mail, which includes charts too. Any plugins for laravel or suggestions?

Upvotes: 0

Views: 964

Answers (1)

Vortex
Vortex

Reputation: 816

You can look at pChart, it allows you to generate charts server side and store the output as images. From there you can just use the Laravel Mail functionality to send your mail.

Upvotes: 1

Related Questions