phplegends / api-2-pdf-v2
A wrapper package for Api2PDF API
Installs: 2 389
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=8.1
- guzzlehttp/guzzle: ^7.2
Requires (Dev)
- phpunit/phpunit: ^10.0
This package is auto-updated.
Last update: 2024-11-24 16:52:51 UTC
README
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');