PHPackages                             docfalcon/docfalcon-sdk - 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. docfalcon/docfalcon-sdk

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

docfalcon/docfalcon-sdk
=======================

DocFalcon SDK for PHP

0.2.0(8y ago)016BSD-3-ClausePHPPHP &gt;=5.5.9

Since Oct 18Pushed 8y ago3 watchersCompare

[ Source](https://github.com/docfalcon/docfalcon-sdk-php)[ Packagist](https://packagist.org/packages/docfalcon/docfalcon-sdk)[ Docs](https://github.com/docfalcon/docfalcon-sdk-php)[ RSS](/packages/docfalcon-docfalcon-sdk/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (1)Used By (0)

DocFalcon SDK for PHP
=====================

[](#docfalcon-sdk-for-php)

[![Build Status](https://camo.githubusercontent.com/152ca738c8d94e526f32420e3093189334d99271ff6fba3e0cf6c63fa5680bc8/68747470733a2f2f7472617669732d63692e6f72672f646f6366616c636f6e2f646f6366616c636f6e2d73646b2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/docfalcon/docfalcon-sdk-php)[![Coverage Status](https://camo.githubusercontent.com/ef1048df9549cd00992aea4bf4eee6b892c5b2be9780cc7c21acee3aa4f3fc2b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f646f6366616c636f6e2f646f6366616c636f6e2d73646b2d7068702f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/docfalcon/docfalcon-sdk-php?branch=master)[![Packagist version](https://camo.githubusercontent.com/ac49a2cff9f3d5fed4397c5b94dfa4d3cb0e9564474be57882841d2a7a4198f1/68747470733a2f2f706f7365722e707567782e6f72672f646f6366616c636f6e2f646f6366616c636f6e2d73646b2f76657273696f6e)](https://packagist.org/packages/docfalcon/docfalcon-sdk)

Introduction
------------

[](#introduction)

This library provides PHP integration for [DocFalcon](https://www.docfalcon.com/) APIs.

We welcome [feedback and issues](https://github.com/docfalcon/docfalcon-sdk-php/issues) you may spot while using it.

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

[](#installation)

```
composer require docfalcon/docfalcon-sdk

```

Usage
-----

[](#usage)

DocFalcon has one very simple and intuitive API for PDF generation. This library is a very simple wrapper around an http client.

### PDF Generation

[](#pdf-generation)

```
$businessCard = json_decode(file_get_contents('./samples/business_card.json'));

$client = new \GuzzleHttp\Client();
$docfalcon = new \DocFalcon\Client($client,'YOUR_APIKEY');
$response = $docfalcon->generate($businessCard, './business_card.pdf');
```

You can get more info about how to get an apikey or how to describe your document by looking at the [docs](https://www.docfalcon.com/docs).

License
-------

[](#license)

BSD 3-Clause License

Copyright (c) 2017, DocFalcon

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3126d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/be96059c3607ef71b2fcd95144c40013aeace7a01e72f9c8b2f79ad20cc76565?d=identicon)[docfalcon](/maintainers/docfalcon)

---

Top Contributors

[![thundo](https://avatars.githubusercontent.com/u/703181?v=4)](https://github.com/thundo "thundo (20 commits)")

---

Tags

clouddocfalconpdfphprenderpdfrenderdocfalcon

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/docfalcon-docfalcon-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/docfalcon-docfalcon-sdk/health.svg)](https://phpackages.com/packages/docfalcon-docfalcon-sdk)
```

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M275](/packages/barryvdh-laravel-dompdf)[tecnickcom/tcpdf

TCPDF is a PHP class for generating PDF documents and barcodes.

4.5k101.8M472](/packages/tecnickcom-tcpdf)[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M490](/packages/mpdf-mpdf)[knplabs/knp-snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.

4.5k68.3M55](/packages/knplabs-knp-snappy)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M100](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k34.5M216](/packages/smalot-pdfparser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
