appoly/document-generator

A package to generate pdfs and pngs from urls or html sent to a lambda function

1.2.3 2022-06-29 11:00 UTC

This package is auto-updated.

Last update: 2024-11-15 16:01:02 UTC


README

This package will generate PDFs and PNGs from websites.

Installation

composer require appoly/document-generator

Usage

use  Appoly\DocumentGenerator\Facades\DocumentGenerator;

$png  =  DocumentGenerator::url('https://www.appoly.co.uk')
		->png()
		->get();

Options

API Key

A api key is required. This can be defined in your .env

DOCUMENT_GENERATOR_API_KEY