Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.24 KB

README.md

File metadata and controls

47 lines (35 loc) · 1.24 KB

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 ...
            ]
        ]
    ]
];