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';
Install using Composer:
composer require jmischer/cake-pdfreactor
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 ...
]
]
]
];