jmischer/cake-pdfreactor

CakePdf PdfReactor engine plugin for CakePHP

Installs: 197

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:cakephp-plugin

2.0.0 2023-06-23 08:27 UTC

This package is auto-updated.

Last update: 2024-04-23 10:21:49 UTC


README

License

CakePdf PDFreactor engine plugin for CakePHP

This plugin contains a wrapper engine for the PDFreactor Web Service Client to use with the CakePHP 4.x CakePdf plugin.

For CakePHP 3.x use the 1.x branch.

This Plugin is not affiliated with RealObjects.com and does not contain the Webservice client. You will need to import it, e.g. in your applications bootstrap.php.

require_once '/path/to/PDFreactor/wrappers/php/lib/PDFreactor.class.php';

Installation

Install using Composer:

composer require jmischer/cake-pdfreactor

Configuration

config/cakepdf.php:

return [
    'CakePdf' => [
        'engine' => [
            'className' => 'JMischer/CakePDFreactor.PDFreactor',
            'client' => [
                'className' => '\com\realobjects\pdfreactor\webservice\client\PDFreactor',
                'serviceUrl' => 'http://localhost:9423/service/rest',
                'apiKey' => 'your_secret_api_key_if_needed'
            ],
            'options' => [
                // PDFreactor configuration ...
            ]
        ]
    ]
];