PHP code example of pdfapi / zf3-pdfapi-module

1. Go to this page and download the library: Download pdfapi/zf3-pdfapi-module library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

pdfapi / zf3-pdfapi-module example snippets


'pdfapi' => [
    'apiKey' => 'API_KEY',
],

return [
    'PdfApi',
    'Application',
];

'controllers' => [
        'factories' => [
            Controller\IndexController::class => function ($cm) {
                return new IndexController($cm->get(PdfApi::class));
            },
        ],
    ],