PHPackages                             springworks/pdf-maker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. springworks/pdf-maker

ActiveCraft-plugin[PDF &amp; Document Generation](/categories/documents)

springworks/pdf-maker
=====================

PDF creation using api2pdf v2

3.0.1(1y ago)0644proprietaryPHPPHP ^8.2

Since Jan 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/steverowling/pdf-maker)[ Packagist](https://packagist.org/packages/springworks/pdf-maker)[ RSS](/packages/springworks-pdf-maker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (19)Used By (0)

Pdf Maker plugin for Craft CMS 3.x
==================================

[](#pdf-maker-plugin-for-craft-cms-3x)

PDF creation using the v2 API headless chrome services from [api2pdf.com](https://api2pdf.com). You can also use Api2Pdf for rendering PDFs in [Formie](https://plugins.craftcms.com/formie) or [Craft Commerce](https://plugins.craftcms.com/commerce).

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Formie integration requires Formie 1.5 or later.

Commerce integration requires Commerce 2.0 or later.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require springworks/pdf-maker

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Pdf Maker.

Settings
--------

[](#settings)

The only required setting is a valid Api2Pdf API key. It is recommended to set this using an [environment variable](https://docs.craftcms.com/v3/config/environments.html).

The plugin will automatically detect if either Formie or Craft Commerce is installed and enabled and will offer additional settings to override the PDF generation for these plugins if detected.

Default PDF creation options are set in the config file. Rename `config.php` to `pdf-maker.php` and place in your `config` folder. Change the default options as required.

```
