Api2PDF Version 2

A wrapper library to Api2PDF 2.0.

Note: The API2PDF is currently in version beta

Usage

$apiKey = 'My_api_key';

$pdf = Api2Pdf::create($apiKey);

Chrome endpoint

$pdf->chrome()->generatePdfFromUrl('https://google.com');