danny3b/adobe-pdf-services

A PHP SDK for creating PDFs using Adobe PDF Services.

dev-main 2024-07-18 08:39 UTC

This package is auto-updated.

Last update: 2024-09-18 09:00:32 UTC


README

Adobe PDF Services PHP SDK is a PHP library for creating PDF files using Adobe PDF Services.

Installation

Install via Composer:

composer require danny3b/adobe-pdf-services

Requirements

  • PHP >= 8.0
  • rmccue/requests >= 1.8

Usage

<?php
use AdobePDFServices\CreatePDF;

$clientId = 'YOUR_CLIENT_ID';
$clientSecret = 'YOUR_CLIENT_SECRET';

$pdfCreator = new CreatePDF($clientId, $clientSecret);
$file = '/path/to/your/file';
$downloadUri = $pdfCreator->convert($file);
?>

License

This project is licensed under the MIT License.