PHPackages                             pointybeard/pdfchip - 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. pointybeard/pdfchip

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

pointybeard/pdfchip
===================

PHP Wrapper for callas pdfChip

1.0.0.10(4y ago)22.2kMITPHPPHP &gt;=7.4

Since Jul 28Pushed 4y ago2 watchersCompare

[ Source](https://github.com/pointybeard/pdfchip)[ Packagist](https://packagist.org/packages/pointybeard/pdfchip)[ Docs](https://github.com/pointybeard/pdfchip)[ RSS](/packages/pointybeard-pdfchip/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (6)Versions (12)Used By (0)

PHP Wrapper for callas pdfChip
==============================

[](#php-wrapper-for-callas-pdfchip)

A PHP wrapper class for [callas pdfChip](https://www.callassoftware.com/en/products/pdfchip).

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

[](#installation)

This library is installed via [Composer](http://getcomposer.org/). To install, use `composer require pointybeard/pdfchip` or add `"pointybeard/pdfchip": "^1.0"` to your `composer.json` file.

And run composer to update your dependencies:

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

```

### Using the Mock Executable

[](#using-the-mock-executable)

If the system you are running code on does not have pdfChip installed or it cannot be activiated, use the mock command `bin/pdfchip` instead. It emulates `--help`, `--status`, and processing input html.

To do this, make `bin/pdfchip` executable and place it in your system path (e.g. symlinking to `/usr/local/bin`).

Now, the pdfchip library will call this mock executable instead. Note you will always get the same pdf output regardless of input.

### Requirements

[](#requirements)

This library requires pdfChip and PHP 7.4 or later.

Usage
-----

[](#usage)

Here is a basic usage example:

```
